Instantly share code, notes, and snippets.

Embed
What would you like to do?
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvOptions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
porosityProperty
{
type explicitPorositySource;
active yes;
selectionMode cellZone;
cellZone region1;
explicitPorositySourceCoeffs
{
type DarcyForchheimer;
DarcyForchheimerCoeffs
{
d d [ 0 -2 0 0 0 0 0 ] ( 18463.81 -1000 -1000 );
f f [ 0 -1 0 0 0 0 0 ] ( 1.09 -1000 -1000 );
porosity 1. ;
coordinateSystem
{
type cartesian;
origin ( 0. 0. 0. );
coordinateRotation
{
type axesRotation;
e3 ( 0. 0. 1. );
e1 ( 1. 0. 0. );
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment