ENH. Update dsmc submodels to allow models with no coeffs dictionary.

Updated dsmc and md tuts, including new cyclic handling.
This commit is contained in:
graham
2010-05-20 16:49:03 +01:00
parent 49ccf0ffaa
commit 0368f38a7c
45 changed files with 450 additions and 217 deletions

View File

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
@ -10,28 +10,42 @@ FoamFile
version 2.0;
format ascii;
class volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
dimensions [ 0 1 -1 0 0 0 0 ];
internalField uniform (0 0 0);
internalField uniform ( 0 0 0 );
boundaryField
{
periodicX
periodicX_half0
{
type cyclic;
}
periodicY
periodicY_half0
{
type cyclic;
}
periodicZ
periodicZ_half0
{
type cyclic;
}
periodicY_half1
{
type cyclic;
}
periodicZ_half1
{
type cyclic;
}
periodicX_half1
{
type cyclic;
}
}
// ************************************************************************* //

View File

@ -15,28 +15,49 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
3
6
(
periodicX
periodicX_half0
{
type cyclic;
nFaces 288;
nFaces 144;
startFace 4752;
featureCos 0.9;
neighbourPatch periodicX_half1;
}
periodicY
periodicX_half1
{
type cyclic;
nFaces 288;
nFaces 144;
startFace 4896;
neighbourPatch periodicX_half0;
}
periodicY_half0
{
type cyclic;
nFaces 144;
startFace 5040;
featureCos 0.9;
neighbourPatch periodicY_half1;
}
periodicZ
periodicY_half1
{
type cyclic;
nFaces 288;
nFaces 144;
startFace 5184;
neighbourPatch periodicY_half0;
}
periodicZ_half0
{
type cyclic;
nFaces 144;
startFace 5328;
featureCos 0.9;
neighbourPatch periodicZ_half1;
}
periodicZ_half1
{
type cyclic;
nFaces 144;
startFace 5472;
neighbourPatch periodicZ_half0;
}
)

View File

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
@ -10,28 +10,42 @@ FoamFile
version 2.0;
format ascii;
class volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
dimensions [ 0 1 -1 0 0 0 0 ];
internalField uniform (0 0 0);
internalField uniform ( 0 0 0 );
boundaryField
{
periodicX
periodicX_half0
{
type cyclic;
}
periodicY
periodicY_half0
{
type cyclic;
}
periodicZ
periodicZ_half0
{
type cyclic;
}
periodicY_half1
{
type cyclic;
}
periodicZ_half1
{
type cyclic;
}
periodicX_half1
{
type cyclic;
}
}
// ************************************************************************* //

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
@ -15,28 +15,49 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
3
6
(
periodicX
periodicX_half0
{
type cyclic;
nFaces 264;
nFaces 132;
startFace 4344;
featureCos 0.9;
neighbourPatch periodicX_half1;
}
periodicY
periodicX_half1
{
type cyclic;
nFaces 264;
nFaces 132;
startFace 4476;
neighbourPatch periodicX_half0;
}
periodicY_half0
{
type cyclic;
nFaces 132;
startFace 4608;
featureCos 0.9;
neighbourPatch periodicY_half1;
}
periodicZ
periodicY_half1
{
type cyclic;
nFaces 288;
nFaces 132;
startFace 4740;
neighbourPatch periodicY_half0;
}
periodicZ_half0
{
type cyclic;
nFaces 144;
startFace 4872;
featureCos 0.9;
neighbourPatch periodicZ_half1;
}
periodicZ_half1
{
type cyclic;
nFaces 144;
startFace 5016;
neighbourPatch periodicZ_half0;
}
)