Go to the documentation of this file.
44 int main(
int argc,
char *argv[])
58 <<
" for time = " << runTime.timeName() <<
nl <<
endl;
99 Info <<
"this is region Num:" << i <<
endl;
100 Info<<
"*** Reading fluid mesh properties for region "
103 Info<<
" Adding to UFluid\n" <<
endl;
121 Info<<
" Adding to phiFluid\n" <<
endl;
132 IOobject::READ_IF_PRESENT,
140 Info<<
" Adding to pFluid\n" <<
endl;
158 Info<<
" Adding to p_rghFluid\n" <<
endl;
176 Info<<
" Adding to TFluid\n" <<
endl;
194 Info<<
" Adding to simpleControl\n" <<
endl;
208 Info <<
" set refcell for pRefCell and pRefValue" <<
endl;
213 Info<<
" Adding to laminaRransportFluid\n" <<
endl;
214 laminarTransportFluid.
set
224 Info<<
" Adding to turbulenceFluid\n" <<
endl;
246 Info<<
" Adding fvOptions\n" <<
endl;
254 Info <<
"Number" << i <<
"region is reading." <<
endl<<
endl;
257 turbulenceFluid[i].validate();
258 Info <<
"Number" << i <<
"region is read." <<
endl<<
endl;
263 #include "initContinuityErrs.H"
266 while (runTime.loop())
268 Info<<
"Time = " << runTime.timeName() <<
nl <<
endl;
272 Info<<
"\nSolving for fluid region "
324 Info<<
"ExecutionTime = " << runTime.elapsedCpuTime() <<
" s"
325 <<
" ClockTime = " << runTime.elapsedClockTime() <<
" s"
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
List< scalar > pRefValueFluid(fluidRegions.size(), 0.0)
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
SIMPLE control class to supply convergence information/checks for the SIMPLE loop.
#define forAll(list, i)
Loop across all elements in list.
List< scalar > initialMassFluid(fluidRegions.size())
Ostream & endl(Ostream &os)
Add newline and flush stream.
A simple single-phase transport model based on viscosityModel.
Simple relative velocity model.
PtrList< fvMesh > fluidRegions(fluidNames.size())
int main(int argc, char *argv[])
bool set(const label) const
Is element set.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
autoPtr< compressible::turbulenceModel > turbulence
void setRefCell(const volScalarField &field, const volScalarField &fieldRef, const dictionary &dict, label &refCelli, scalar &refValue, const bool forceReference=false)
If the field fieldRef needs referencing find the reference cell nearest.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Simple class to hold region information for coupled region simulations.
PtrList< surfaceScalarField > phiFluid(fluidRegions.size())
PtrList< volScalarField > p_rghFluid(fluidRegions.size())
Mesh data needed to do the Finite Volume discretisation.
PtrList< IOMRFZoneList > MRFfluid(fluidRegions.size())
singlePhaseTransportModel laminarTransport(U, phi)
const wordList fluidNames(rp["fluid"])
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > linearInterpolate(const GeometricField< Type, fvPatchField, volMesh > &vf)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
List< label > pRefCellFluid(fluidRegions.size(), 0)
List of MRF zones with IO functionality. MRF zones are specified by a list of dictionary entries,...
virtual void correct()
Correct the laminar viscosity.
Templated abstract base class for single-phase incompressible turbulence models.
void size(const label)
Override size to be inconsistent with allocated storage.
Generic GeometricField class.
word name(const complex &)
Return a string representation of a complex.
PtrList< volVectorField > UFluid(fluidRegions.size())
PtrList< fv::options > fluidFvOptions(fluidRegions.size())