- Updated tutorial headers - Added copyright note to isoAdvector src - Removed outcommented code lines in interIsoFoam solver - Removed all LTS from interIsoFoam since this is not currently supported - Confirmed that discInConstantFlow gives identical results with N subCylces and time step N*dt - Confirmed that this also holds when nOuterCorrectors > 1.
45 lines
1.3 KiB
C++
45 lines
1.3 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: plus |
|
|
| \\ / A nd | Web: www.OpenFOAM.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class volScalarField;
|
|
object p_rgh;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [1 -1 -2 0 0 0 0];
|
|
|
|
internalField uniform 0;
|
|
|
|
boundaryField
|
|
{
|
|
walls
|
|
{
|
|
type fixedFluxPressure;
|
|
phi phiAbs;
|
|
value uniform 0;
|
|
}
|
|
|
|
obstacle
|
|
{
|
|
type fixedFluxPressure;
|
|
phi phiAbs;
|
|
value uniform 0;
|
|
}
|
|
|
|
atmosphere
|
|
{
|
|
type totalPressure;
|
|
p0 uniform 0;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|