cleanup whitespaces and formatting

This commit is contained in:
danielque
2023-04-07 12:38:51 +02:00
parent cb5e684752
commit 3542643f32
3 changed files with 32 additions and 31 deletions

View File

@ -24,7 +24,7 @@ surfaceScalarField voidfractionf = fvc::interpolate(voidfraction);
surfaceScalarField phicForces surfaceScalarField phicForces
( (
fvc::interpolate(rUA*(Ksl*Us)/rho) & mesh.Sf() fvc::interpolate(rUA*(Ksl*Us)/rho) & mesh.Sf()
); );
if (pimple.momentumPredictor() && (modelType=="B" || modelType=="Bfull")) if (pimple.momentumPredictor() && (modelType=="B" || modelType=="Bfull"))

View File

@ -32,6 +32,7 @@ Description
Turbulence modelling is generic, i.e. laminar, RAS or LES may be selected. Turbulence modelling is generic, i.e. laminar, RAS or LES may be selected.
The code is an evolution of the solver pimpleFoam in OpenFOAM(R) 6.0, The code is an evolution of the solver pimpleFoam in OpenFOAM(R) 6.0,
where additional functionality for CFD-DEM coupling is added. where additional functionality for CFD-DEM coupling is added.
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#include "fvCFD.H" #include "fvCFD.H"
@ -104,7 +105,7 @@ int main(int argc, char *argv[])
while (pimple.loop()) while (pimple.loop())
{ {
// Momentum predictor // Momentum predictor
#include "UEqn.H" #include "UEqn.H"
// --- Inner PIMPLE loop // --- Inner PIMPLE loop

View File

@ -110,34 +110,34 @@
#ifndef createPhi_H #ifndef createPhi_H
#define createPhi_H #define createPhi_H
Info<< "Reading/calculating face flux field phi\n" << endl; Info<< "Reading/calculating face flux field phi\n" << endl;
surfaceScalarField phi surfaceScalarField phi
(
IOobject
( (
"phi", IOobject
runTime.timeName(), (
mesh, "phi",
IOobject::READ_IF_PRESENT, runTime.timeName(),
IOobject::AUTO_WRITE mesh,
), IOobject::READ_IF_PRESENT,
linearInterpolate(U*voidfraction) & mesh.Sf() IOobject::AUTO_WRITE
); ),
linearInterpolate(U*voidfraction) & mesh.Sf()
);
#endif #endif
Info<< "Generating interstitial flux field phiByVoidfraction (this is the INTERSTITIAL field!)\n" << endl; Info<< "Generating interstitial(!) flux field phiByVoidfraction\n" << endl;
surfaceScalarField phiByVoidfraction surfaceScalarField phiByVoidfraction
( (
IOobject IOobject
( (
"phiByVoidfraction", "phiByVoidfraction",
runTime.timeName(), runTime.timeName(),
mesh, mesh,
IOobject::NO_READ, IOobject::NO_READ,
IOobject::NO_WRITE IOobject::NO_WRITE
), ),
linearInterpolate(U) & mesh.Sf() linearInterpolate(U) & mesh.Sf()
); );
label pRefCell = 0; label pRefCell = 0;