This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/tutorials/compressible/rhoPorousSimpleFoam/beaverJoseph/constant/porousZones
2018-06-01 18:11:37 +02:00

42 lines
1.4 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object porousZones;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
1
(
poro
{
coordinateSystem
{
e1 (1 0 0);
e2 (0 1 0);
}
// Da =0.01 = K/H² = K/0.1^2 -> K=1e-4
// Da =0.001 = K/H² = K/0.1^2 -> K=1e-5
// ce = 0.2439 -> sqrt(1/K) * ce (24.39 bzw 77.12)
Darcy
{
// d d [0 -2 0 0 0 0 0] (1e5 1e5 1e5);
// f f [0 -1 0 0 0 0 0] (77.12 77.12 77.12);
d d [0 -2 0 0 0 0 0] (1e4 1e4 1e4);
f f [0 -1 0 0 0 0 0] (24.39 24.39 24.39);
}
}
)
// ************************************************************************* //