57 runTime.controlDict().found(
"maxDeltaT")
58 ? runTime.controlDict().lookup<scalar>(
"maxDeltaT", runTime.userUnits())
75 thermoPtr_(thermoPtr),
76 thermo_(thermoPtr_()),
91 <<
" solver does not support LTS, use 'steadyState' ddtScheme"
132 if (
pimple.firstIter() ||
pimple.moveMeshOuterCorrectors())
134 if (!mesh_.mover().solidBody())
137 <<
"Region " <<
name() <<
" of type " <<
type()
138 <<
" does not support non-solid body mesh motion"
174 while (
pimple.correctNonOrthogonal())
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
const IOdictionary & controlDict() const
Return the control dict.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
void validate(const string &app, const word &) const
Check that the thermodynamics package is consistent.
bool constrain(fvMatrix< Type > &eqn) const
Apply constraints to an equation.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
void relax(const scalar alpha)
Relax matrix (for steady-state solution).
SolverPerformance< Type > solve(const dictionary &)
Solve segregated or coupled returning the solution statistics.
Mesh data needed to do the Finite Volume discretisation.
virtual void preUpdateMesh()
Prepare for mesh update.
virtual bool modified() const
Return true if the object's file (or files for objectRegistry)
Base-class for solid thermodynamic properties.
Abstract base class for solid thermophysical transport models.
Abstract base class for run-time selectable region solvers.
bool LTS
Switch for local time step transient operation.
const Time & runTime
Time.
virtual bool read()
Read controls.
Solver module for thermal transport in solid domains and regions for conjugate heat transfer,...
virtual void thermophysicalPredictor()
Construct and solve the energy equation,.
virtual void momentumTransportCorrector()
Correct the momentum transport.
virtual void prePredictor()
Called at the beginning of the PIMPLE loop.
virtual void postSolve()
Called after the PIMPLE loop at the end of the time-step.
virtual void momentumTransportPredictor()
Predict the momentum transport.
virtual bool dependenciesModified() const
Return true if the solver's dependencies have been modified.
virtual void moveMesh()
Called at the start of the PIMPLE loop to move the mesh.
virtual scalar maxDeltaT() const
Return the current maximum time-step for stable solution.
virtual void motionCorrector()
Corrections that follow mesh motion.
const solidThermo & thermo
Reference to the solid thermophysical properties.
virtual void pressureCorrector()
Construct and solve the pressure equation in the PISO loop.
virtual void momentumPredictor()
Construct and optionally solve the momentum equation.
virtual void thermophysicalTransportCorrector()
Correct the thermophysical transport.
solid(fvMesh &mesh, autoPtr< solidThermo >)
Construct from region mesh and thermophysical properties.
virtual void preSolve()
Called at the start of the time-step, before the PIMPLE loop.
virtual void thermophysicalTransportPredictor()
Predict thermophysical transport.
virtual bool read()
Read controls.
virtual ~solid()
Destructor.
Foam::fvConstraints & fvConstraints(Foam::fvConstraints::New(mesh))
Foam::fvModels & fvModels(Foam::fvModels::New(mesh))
pimpleControl pimple(mesh)
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Surface integrate surfaceField creating a volField. Surface sum a surfaceField creating a volField.
Info<< "Creating thermophysical transport model\n"<< endl;turbulenceThermophysicalTransportModels::unityLewisEddyDiffusivity< RASThermophysicalTransportModel< ThermophysicalTransportModel< compressibleMomentumTransportModel, fluidThermo > >> thermophysicalTransport(turbulence(), thermo, true)
tmp< fvMatrix< Type > > ddt(const VolField< Type > &vf)
addToRunTimeSelectionTable(solver, compressibleMultiphaseVoF, fvMesh)
defineTypeNameAndDebug(compressibleMultiphaseVoF, 0)
errorManipArg< error, int > exit(error &err, const int errNo=1)
void T(LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1)
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
tmp< DimensionedField< TypeR, GeoMesh, Field > > New(const tmp< DimensionedField< TypeR, GeoMesh, Field >> &tdf1, const word &name, const dimensionSet &dimensions)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
fluidMulticomponentThermo & thermo