100 using namespace Foam;
104 int main(
int argc,
char *argv[])
111 #include "createControl.H"
113 #include "readGravitationalAcceleration.H"
126 Info<<
"\nStarting time loop\n" <<
endl;
135 Info<<
"\n\nTime = " << runTime.name() <<
endl;
177 Info<<
"\nExecutionTime = "
178 << runTime.elapsedCpuTime()
int main(int argc, char *argv[])
For cases which do no have a pressure boundary adjust the balance of fluxes to obey continuity....
Solve the continuity for density.
Reset the timestep to maintain a constant maximum courant Number. Reduction of time-step is immediate...
virtual const volScalarField & he() const =0
Enthalpy/Internal energy [J/kg].
virtual void correct()
Correct the fvModels.
bool run(Time &time)
Time run loop.
bool correctTransport() const
Flag to indicate whether to correct the transport models.
bool correct()
Piso loop within outer loop.
bool predictTransport() const
Flag to indicate whether to predict the transport models.
Calculates and outputs the mean and maximum Courant Numbers.
pimpleControl pimple(mesh)
Read the control parameters used by setDeltaT.
Find the reference cell nearest (in index) to the given cell but which is not on a cyclic,...
Calculate the first temporal derivative.
Calculate the face-flux of the given field.
Calculate the gradient of the given field.
Calculate the mesh motion flux and convert fluxes from absolute to relative and back.
Reconstruct volField from a face flux field.
Calculate the matrix for the first temporal derivative.
Calculate the matrix for the divergence of the given field and flux.
Calculate the matrix for the laplacian of the field.
Declare and initialise the cumulative continuity error.
Info<< "Creating thermophysical transport model\n"<< endl;turbulenceThermophysicalTransportModels::unityLewisEddyDiffusivity< RASThermophysicalTransportModel< ThermophysicalTransportModel< compressibleMomentumTransportModel, fluidThermo > >> thermophysicalTransport(turbulence(), thermo, true)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Execute application functionObjects to post-process existing results.
Read the control parameters used by setDeltaT.
Set the initial timestep corresponding to the timestep adjustment algorithm in setDeltaT but only if ...
autoPtr< incompressible::momentumTransportModel > turbulence(incompressible::momentumTransportModel::New(U, phi, viscosity))
fluidMulticomponentThermo & thermo