Skip to content

Instantly share code, notes, and snippets.

@pfsq
Created March 17, 2018 12:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pfsq/6dc18785b751e8e868b2232d06798ca1 to your computer and use it in GitHub Desktop.
Save pfsq/6dc18785b751e8e868b2232d06798ca1 to your computer and use it in GitHub Desktop.
/*--------------------------------*- 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