Go to the documentation of this file.
43 int main(
int argc,
char *argv[])
47 "Transient solver for trans-sonic/supersonic, laminar flow"
48 " of a compressible liquid."
57 #include "createControl.H"
58 #include "createFields.H"
59 #include "initContinuityErrs.H"
63 Info<<
"\nStarting time loop\n" <<
endl;
69 #include "compressibleCourantNo.H"
122 #include "compressibleContinuityErrs.H"
125 U.correctBoundaryConditions();
surfaceScalarField phid("phid", fvc::interpolate(psi) *(fvc::flux(HbyA)+MRF.zeroFilter(rhorAUf *fvc::ddtCorr(rho, U, phi)/fvc::interpolate(rho))))
tmp< surfaceScalarField > flux(const volVectorField &vvf)
Return the face-flux field obtained from the given volVectorField.
tmp< volScalarField > rAU
const dimensionedScalar mu
Atomic mass unit.
tmp< GeometricField< typename outerProduct< vector, Type >::type, faPatchField, areaMesh >> grad(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
Ostream & endl(Ostream &os)
Add newline and flush stream.
tmp< GeometricField< Type, faPatchField, areaMesh > > div(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
fvMatrix< vector > fvVectorMatrix
fvMatrix< scalar > fvScalarMatrix
messageStream Info
Information stream (uses stdout - output is on the master only)
surfaceScalarField rhorAUf("rhorAUf", fvc::interpolate(rho *rAU))
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Execute application functionObjects to post-process existing results.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
tmp< GeometricField< Type, faPatchField, areaMesh > > ddt(const dimensioned< Type > dt, const faMesh &mesh)
tmp< GeometricField< Type, faPatchField, areaMesh > > laplacian(const GeometricField< Type, faPatchField, areaMesh > &vf, const word &name)
const volScalarField & psi
static tmp< GeometricField< Type, faePatchField, edgeMesh > > interpolate(const GeometricField< Type, faPatchField, areaMesh > &tvf, const edgeScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.