ENH: Update tutorials using coordinate systems for porosity models

This commit is contained in:
sergio
2013-01-21 12:37:54 +00:00
parent 52eb4f8924
commit 9692a52e3a
9 changed files with 99 additions and 38 deletions

View File

@ -33,12 +33,18 @@ porosity1
coordinateSystem
{
e1 (0.70710678 0.70710678 0);
e2 (0 0 1);
type cartesian;
origin (0 0 0);
coordinateRotation
{
type axesRotation;
e1 (0.70710678 0.70710678 0);
e2 (0 0 1);
}
}
}
}
}
************************************************************************* //
//************************************************************************* //

View File

@ -10,29 +10,41 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object porosityProperties;
location "system";
object fvOptions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
porosity1
{
type DarcyForchheimer;
active yes;
type explicitPorositySource;
active true;
selectionMode cellZone;
cellZone porosity;
DarcyForchheimerCoeffs
explicitPorositySourceCoeffs
{
d d [0 -2 0 0 0 0 0] (5e7 -1000 -1000);
f f [0 -1 0 0 0 0 0] (0 0 0);
type DarcyForchheimer;
coordinateSystem
DarcyForchheimerCoeffs
{
e1 (0.70710678 0.70710678 0);
e2 (0 0 1);
d d [0 -2 0 0 0 0 0] (5e7 -1000 -1000);
f f [0 -1 0 0 0 0 0] (0 0 0);
coordinateSystem
{
type cartesian;
origin (0 0 0);
coordinateRotation
{
type axesRotation;
e1 (0.70710678 0.70710678 0);
e2 (0 0 1);
}
}
}
}
}
// ************************************************************************* //
//************************************************************************* //

View File

@ -57,7 +57,7 @@ PIMPLE
nCorrectors 1;
nNonOrthogonalCorrectors 0;
rhoMin rhoMin [ 1 -3 0 0 0 ] 0.5;
rhoMax rhoMax [ 1 -3 0 0 0 ] 2.0;
rhoMax rhoMax [ 1 -3 0 0 0 ] 1.5;
residualControl
{
@ -76,7 +76,7 @@ relaxationFactors
fields
{
"p.*" 0.3;
"rho.*" 1;
"rho.*" 0.01;
}
equations
{

View File

@ -28,8 +28,14 @@ porosity1
coordinateSystem
{
e1 (1 0 0);
e2 (0 1 0);
type cartesian;
origin (0 0 0);
coordinateRotation
{
type axesRotation;
e1 (1 0 0);
e2 (0 1 0);
}
}
}
}

View File

@ -10,28 +10,41 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object porosityProperties;
location "system";
object fvOptions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
porosity1
{
type DarcyForchheimer;
active yes;
type explicitPorositySource;
active false;
selectionMode cellZone;
cellZone porosity;
DarcyForchheimerCoeffs
explicitPorositySourceCoeffs
{
d d [0 -2 0 0 0 0 0] (5e7 -1000 -1000);
f f [0 -1 0 0 0 0 0] (0 0 0);
type DarcyForchheimer;
coordinateSystem
DarcyForchheimerCoeffs
{
e1 (0.70710678 0.70710678 0);
e2 (0 0 1);
d d [0 -2 0 0 0 0 0] (5e5 -1000 -1000);
f f [0 -1 0 0 0 0 0] (0 0 0);
coordinateSystem
{
type cartesian;
origin (0 0 0);
coordinateRotation
{
type axesRotation;
e1 (0.70710678 0.70710678 0);
e2 (0 0 1);
}
}
}
}
}
// ************************************************************************* //
//************************************************************************* //

View File

@ -28,8 +28,14 @@ porosity1
coordinateSystem
{
e1 (0.70710678 0.70710678 0);
e2 (0 0 1);
type cartesian;
origin (0 0 0);
coordinateRotation
{
type axesRotation;
e1 (0.70710678 0.70710678 0);
e2 (0 0 1);
}
}
}
}

View File

@ -51,12 +51,18 @@ porosity1
coordinateSystem
{
e1 (0.70710678 0.70710678 0);
e2 (0 0 1);
type cartesian;
origin (0 0 0);
coordinateRotation
{
type axesRotation;
e1 (0.70710678 0.70710678 0);
e2 (0 0 1);
}
}
}
}
}
************************************************************************* //
//************************************************************************* //

View File

@ -28,8 +28,14 @@ porosity1
coordinateSystem
{
e1 (0.70710678 0.70710678 0);
e2 (0 0 1);
type cartesian;
origin (0 0 0);
coordinateRotation
{
type axesRotation;
e1 (0.70710678 0.70710678 0);
e2 (0 0 1);
}
}
}
}

View File

@ -28,8 +28,14 @@ filter1
coordinateSystem
{
e1 (1 0 0);
e2 (0 1 0);
type cartesian;
origin (0 0 0);
coordinateRotation
{
type axesRotation;
e1 (1 0 0);
e2 (0 1 0);
}
}
}
}