mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
e.g.
DarcyForchheimerCoeffs
{
d (5e7 -1000 -1000);
f (0 0 0);
coordinateSystem
{
type cartesian;
origin (0 0 0);
coordinateRotation
{
type axesRotation;
e1 (1 0 0);
e2 (0 0 1);
}
}
}
52 lines
1.5 KiB
C++
52 lines
1.5 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "constant";
|
|
object fvOptions;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
porosity1
|
|
{
|
|
type explicitPorositySource;
|
|
active yes;
|
|
|
|
explicitPorositySourceCoeffs
|
|
{
|
|
selectionMode cellZone;
|
|
cellZone porosity;
|
|
|
|
type DarcyForchheimer;
|
|
|
|
DarcyForchheimerCoeffs
|
|
{
|
|
d (7e5 -1000 -1000);
|
|
f (0 0 0);
|
|
|
|
coordinateSystem
|
|
{
|
|
type cartesian;
|
|
origin (0 0 0);
|
|
coordinateRotation
|
|
{
|
|
type axesRotation;
|
|
e1 (0.70710678 0.70710678 0);
|
|
e3 (0 0 1);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
//************************************************************************ //
|