Skip to content

Instantly share code, notes, and snippets.

@jonathan-ostrander
Created October 14, 2015 23:15
Show Gist options
  • Save jonathan-ostrander/97e0f69ae3df609d9ca5 to your computer and use it in GitHub Desktop.
Save jonathan-ostrander/97e0f69ae3df609d9ca5 to your computer and use it in GitHub Desktop.
OpenFOAM case for venting loadlock
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
internalField uniform 0;
boundaryField
{
inlet
{
type zeroGradient;
}
wafer
{
type zeroGradient;
}
inlet_wall
{
type zeroGradient;
}
top_wall
{
type zeroGradient;
}
side_wall
{
type zeroGradient;
}
bottom_wall
{
type zeroGradient;
}
}
// ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
internalField uniform (0 0 0);
boundaryField
{
inlet
{
type flowRateInletVelocity;
volumetricFlowRate 0.0144;
value uniform (0 0 0);
}
wafer
{
type fixedValue;
value uniform (0 0 0);
}
inlet_wall
{
type fixedValue;
value uniform (0 0 0);
}
top_wall
{
type fixedValue;
value uniform (0 0 0);
}
side_wall
{
type fixedValue;
value uniform (0 0 0);
}
bottom_wall
{
type fixedValue;
value uniform (0 0 0);
}
}
// ************************************************************************* //
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment