mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -27,6 +27,15 @@ License
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
template<class CloudType>
|
||||||
|
Foam::BinaryCollisionModel<CloudType>::BinaryCollisionModel(CloudType& owner)
|
||||||
|
:
|
||||||
|
dict_(dictionary::null),
|
||||||
|
owner_(owner),
|
||||||
|
coeffDict_(dictionary::null)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
Foam::BinaryCollisionModel<CloudType>::BinaryCollisionModel
|
Foam::BinaryCollisionModel<CloudType>::BinaryCollisionModel
|
||||||
(
|
(
|
||||||
@ -87,4 +96,3 @@ Foam::BinaryCollisionModel<CloudType>::coeffDict() const
|
|||||||
#include "BinaryCollisionModelNew.C"
|
#include "BinaryCollisionModelNew.C"
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|
||||||
|
|||||||
@ -85,6 +85,9 @@ public:
|
|||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
|
//- Construct null from owner
|
||||||
|
BinaryCollisionModel(CloudType& owner);
|
||||||
|
|
||||||
//- Construct from components
|
//- Construct from components
|
||||||
BinaryCollisionModel
|
BinaryCollisionModel
|
||||||
(
|
(
|
||||||
|
|||||||
@ -27,6 +27,15 @@ License
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
template<class CloudType>
|
||||||
|
Foam::InflowBoundaryModel<CloudType>::InflowBoundaryModel(CloudType& owner)
|
||||||
|
:
|
||||||
|
dict_(dictionary::null),
|
||||||
|
owner_(owner),
|
||||||
|
coeffDict_(dictionary::null)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
Foam::InflowBoundaryModel<CloudType>::InflowBoundaryModel
|
Foam::InflowBoundaryModel<CloudType>::InflowBoundaryModel
|
||||||
(
|
(
|
||||||
|
|||||||
@ -86,6 +86,9 @@ public:
|
|||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
|
//- Construct null from owner
|
||||||
|
InflowBoundaryModel(CloudType& owner);
|
||||||
|
|
||||||
//- Construct from dictionary
|
//- Construct from dictionary
|
||||||
InflowBoundaryModel
|
InflowBoundaryModel
|
||||||
(
|
(
|
||||||
|
|||||||
@ -34,7 +34,7 @@ Foam::NoInflow<CloudType>::NoInflow
|
|||||||
CloudType& cloud
|
CloudType& cloud
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
InflowBoundaryModel<CloudType>(dict, cloud, typeName)
|
InflowBoundaryModel<CloudType>(cloud)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -50,7 +50,7 @@ class NoInflow
|
|||||||
public:
|
public:
|
||||||
|
|
||||||
//- Runtime type information
|
//- Runtime type information
|
||||||
TypeName("NoInflow");
|
TypeName("none");
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|||||||
@ -37,7 +37,7 @@ Foam::MaxwellianThermal<CloudType>::MaxwellianThermal
|
|||||||
CloudType& cloud
|
CloudType& cloud
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
WallInteractionModel<CloudType>(dict, cloud, typeName)
|
WallInteractionModel<CloudType>(cloud)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -36,7 +36,7 @@ Foam::SpecularReflection<CloudType>::SpecularReflection
|
|||||||
CloudType& cloud
|
CloudType& cloud
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
WallInteractionModel<CloudType>(dict, cloud, typeName)
|
WallInteractionModel<CloudType>(cloud)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -27,6 +27,15 @@ License
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
template<class CloudType>
|
||||||
|
Foam::WallInteractionModel<CloudType>::WallInteractionModel(CloudType& owner)
|
||||||
|
:
|
||||||
|
dict_(dictionary::null),
|
||||||
|
owner_(owner),
|
||||||
|
coeffDict_(dictionary::null)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
Foam::WallInteractionModel<CloudType>::WallInteractionModel
|
Foam::WallInteractionModel<CloudType>::WallInteractionModel
|
||||||
(
|
(
|
||||||
|
|||||||
@ -85,6 +85,9 @@ public:
|
|||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
|
//- Construct null from owner
|
||||||
|
WallInteractionModel(CloudType& owner);
|
||||||
|
|
||||||
//- Construct from components
|
//- Construct from components
|
||||||
WallInteractionModel
|
WallInteractionModel
|
||||||
(
|
(
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.6 |
|
| \\ / O peration | Version: dev |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,30 +10,42 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volScalarField;
|
class volScalarField;
|
||||||
|
location "0";
|
||||||
object boundaryT;
|
object boundaryT;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dimensions [0 0 0 1 0 0 0];
|
dimensions [ 0 0 0 1 0 0 0 ];
|
||||||
|
|
||||||
internalField uniform 0;
|
internalField uniform 0;
|
||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
xPeriodic
|
xPeriodic_half0
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
|
yPeriodic_half0
|
||||||
yPeriodic
|
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
|
zPeriodic_half0
|
||||||
zPeriodic
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
yPeriodic_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
zPeriodic_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
xPeriodic_half1
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.6 |
|
| \\ / O peration | Version: dev |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,30 +10,42 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volVectorField;
|
class volVectorField;
|
||||||
|
location "0";
|
||||||
object boundaryU;
|
object boundaryU;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
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
|
boundaryField
|
||||||
{
|
{
|
||||||
xPeriodic
|
xPeriodic_half0
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
|
yPeriodic_half0
|
||||||
yPeriodic
|
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
|
zPeriodic_half0
|
||||||
zPeriodic
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
yPeriodic_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
zPeriodic_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
xPeriodic_half1
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.6 |
|
| \\ / O peration | Version: dev |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,30 +10,42 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volScalarField;
|
class volScalarField;
|
||||||
|
location "0";
|
||||||
object dsmcRhoN;
|
object dsmcRhoN;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dimensions [0 -3 0 0 0 0 0];
|
dimensions [ 0 -3 0 0 0 0 0 ];
|
||||||
|
|
||||||
internalField uniform 0;
|
internalField uniform 0;
|
||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
xPeriodic
|
xPeriodic_half0
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
|
yPeriodic_half0
|
||||||
yPeriodic
|
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
|
zPeriodic_half0
|
||||||
zPeriodic
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
yPeriodic_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
zPeriodic_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
xPeriodic_half1
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.6 |
|
| \\ / O peration | Version: dev |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,30 +10,42 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volVectorField;
|
class volVectorField;
|
||||||
|
location "0";
|
||||||
object fD;
|
object fD;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dimensions [1 -1 -2 0 0 0 0];
|
dimensions [ 1 -1 -2 0 0 0 0 ];
|
||||||
|
|
||||||
internalField uniform (0 0 0);
|
internalField uniform ( 0 0 0 );
|
||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
xPeriodic
|
xPeriodic_half0
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
|
yPeriodic_half0
|
||||||
yPeriodic
|
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
|
zPeriodic_half0
|
||||||
zPeriodic
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
yPeriodic_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
zPeriodic_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
xPeriodic_half1
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.6 |
|
| \\ / O peration | Version: dev |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,30 +10,42 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volScalarField;
|
class volScalarField;
|
||||||
|
location "0";
|
||||||
object iDof;
|
object iDof;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dimensions [0 -3 0 0 0 0 0];
|
dimensions [ 0 -3 0 0 0 0 0 ];
|
||||||
|
|
||||||
internalField uniform 0;
|
internalField uniform 0;
|
||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
xPeriodic
|
xPeriodic_half0
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
|
yPeriodic_half0
|
||||||
yPeriodic
|
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
|
zPeriodic_half0
|
||||||
zPeriodic
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
yPeriodic_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
zPeriodic_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
xPeriodic_half1
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.6 |
|
| \\ / O peration | Version: dev |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,30 +10,42 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volScalarField;
|
class volScalarField;
|
||||||
|
location "0";
|
||||||
object internalE;
|
object internalE;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dimensions [1 -1 -2 0 0 0 0];
|
dimensions [ 1 -1 -2 0 0 0 0 ];
|
||||||
|
|
||||||
internalField uniform 0;
|
internalField uniform 0;
|
||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
xPeriodic
|
xPeriodic_half0
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
|
yPeriodic_half0
|
||||||
yPeriodic
|
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
|
zPeriodic_half0
|
||||||
zPeriodic
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
yPeriodic_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
zPeriodic_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
xPeriodic_half1
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.6 |
|
| \\ / O peration | Version: dev |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,30 +10,42 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volScalarField;
|
class volScalarField;
|
||||||
|
location "0";
|
||||||
object linearKE;
|
object linearKE;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dimensions [1 -1 -2 0 0 0 0];
|
dimensions [ 1 -1 -2 0 0 0 0 ];
|
||||||
|
|
||||||
internalField uniform 0;
|
internalField uniform 0;
|
||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
xPeriodic
|
xPeriodic_half0
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
|
yPeriodic_half0
|
||||||
yPeriodic
|
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
|
zPeriodic_half0
|
||||||
zPeriodic
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
yPeriodic_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
zPeriodic_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
xPeriodic_half1
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.6 |
|
| \\ / O peration | Version: dev |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,30 +10,42 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volVectorField;
|
class volVectorField;
|
||||||
|
location "0";
|
||||||
object momentum;
|
object momentum;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dimensions [1 -2 -1 0 0 0 0];
|
dimensions [ 1 -2 -1 0 0 0 0 ];
|
||||||
|
|
||||||
internalField uniform (0 0 0);
|
internalField uniform ( 0 0 0 );
|
||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
xPeriodic
|
xPeriodic_half0
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
|
yPeriodic_half0
|
||||||
yPeriodic
|
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
|
zPeriodic_half0
|
||||||
zPeriodic
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
yPeriodic_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
zPeriodic_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
xPeriodic_half1
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.6 |
|
| \\ / O peration | Version: dev |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,30 +10,42 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volScalarField;
|
class volScalarField;
|
||||||
|
location "0";
|
||||||
object q;
|
object q;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dimensions [1 0 -3 0 0 0 0];
|
dimensions [ 1 0 -3 0 0 0 0 ];
|
||||||
|
|
||||||
internalField uniform 0;
|
internalField uniform 0;
|
||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
xPeriodic
|
xPeriodic_half0
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
|
yPeriodic_half0
|
||||||
yPeriodic
|
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
|
zPeriodic_half0
|
||||||
zPeriodic
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
yPeriodic_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
zPeriodic_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
xPeriodic_half1
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.6 |
|
| \\ / O peration | Version: dev |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,30 +10,42 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volScalarField;
|
class volScalarField;
|
||||||
|
location "0";
|
||||||
object rhoM;
|
object rhoM;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dimensions [1 -3 0 0 0 0 0];
|
dimensions [ 1 -3 0 0 0 0 0 ];
|
||||||
|
|
||||||
internalField uniform 0;
|
internalField uniform 0;
|
||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
xPeriodic
|
xPeriodic_half0
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
|
yPeriodic_half0
|
||||||
yPeriodic
|
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
|
zPeriodic_half0
|
||||||
zPeriodic
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
yPeriodic_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
zPeriodic_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
xPeriodic_half1
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.6 |
|
| \\ / O peration | Version: dev |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,30 +10,42 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volScalarField;
|
class volScalarField;
|
||||||
|
location "0";
|
||||||
object rhoN;
|
object rhoN;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dimensions [0 -3 0 0 0 0 0];
|
dimensions [ 0 -3 0 0 0 0 0 ];
|
||||||
|
|
||||||
internalField uniform 0;
|
internalField uniform 0;
|
||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
xPeriodic
|
xPeriodic_half0
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
|
yPeriodic_half0
|
||||||
yPeriodic
|
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
|
zPeriodic_half0
|
||||||
zPeriodic
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
yPeriodic_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
zPeriodic_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
xPeriodic_half1
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -27,7 +27,6 @@ nEquivalentParticles 1e12;
|
|||||||
|
|
||||||
WallInteractionModel SpecularReflection;
|
WallInteractionModel SpecularReflection;
|
||||||
|
|
||||||
SpecularReflectionCoeffs {}
|
|
||||||
|
|
||||||
// Binary Collision Model
|
// Binary Collision Model
|
||||||
// ~~~~~~~~~~~~~~~~~~~~~~
|
// ~~~~~~~~~~~~~~~~~~~~~~
|
||||||
@ -43,9 +42,8 @@ LarsenBorgnakkeVariableHardSphereCoeffs
|
|||||||
|
|
||||||
// Inflow Boundary Model
|
// Inflow Boundary Model
|
||||||
// ~~~~~~~~~~~~~~~~~~~~~
|
// ~~~~~~~~~~~~~~~~~~~~~
|
||||||
InflowBoundaryModel NoInflow;
|
InflowBoundaryModel none;
|
||||||
|
|
||||||
NoInflowCoeffs {}
|
|
||||||
|
|
||||||
// Molecular species
|
// Molecular species
|
||||||
// ~~~~~~~~~~~~~~~~~
|
// ~~~~~~~~~~~~~~~~~
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.6 |
|
| \\ / O peration | Version: dev |
|
||||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
@ -15,28 +15,49 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
3
|
6
|
||||||
(
|
(
|
||||||
xPeriodic
|
xPeriodic_half0
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
nFaces 512;
|
nFaces 256;
|
||||||
startFace 14464;
|
startFace 14464;
|
||||||
featureCos 0.9;
|
neighbourPatch xPeriodic_half1;
|
||||||
}
|
}
|
||||||
yPeriodic
|
xPeriodic_half1
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
nFaces 640;
|
nFaces 256;
|
||||||
|
startFace 14720;
|
||||||
|
neighbourPatch xPeriodic_half0;
|
||||||
|
}
|
||||||
|
yPeriodic_half0
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
nFaces 320;
|
||||||
startFace 14976;
|
startFace 14976;
|
||||||
featureCos 0.9;
|
neighbourPatch yPeriodic_half1;
|
||||||
}
|
}
|
||||||
zPeriodic
|
yPeriodic_half1
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
nFaces 640;
|
nFaces 320;
|
||||||
|
startFace 15296;
|
||||||
|
neighbourPatch yPeriodic_half0;
|
||||||
|
}
|
||||||
|
zPeriodic_half0
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
nFaces 320;
|
||||||
startFace 15616;
|
startFace 15616;
|
||||||
featureCos 0.9;
|
neighbourPatch zPeriodic_half1;
|
||||||
|
}
|
||||||
|
zPeriodic_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
nFaces 320;
|
||||||
|
startFace 15936;
|
||||||
|
neighbourPatch zPeriodic_half0;
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@ -27,8 +27,6 @@ nEquivalentParticles 1e12;
|
|||||||
|
|
||||||
WallInteractionModel MaxwellianThermal;
|
WallInteractionModel MaxwellianThermal;
|
||||||
|
|
||||||
MaxwellianThermalCoeffs {}
|
|
||||||
|
|
||||||
|
|
||||||
// Binary Collision Model
|
// Binary Collision Model
|
||||||
// ~~~~~~~~~~~~~~~~~~~~~~
|
// ~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|||||||
@ -25,39 +25,24 @@ nEquivalentParticles 1.2e12;
|
|||||||
// Wall Interaction Model
|
// Wall Interaction Model
|
||||||
// ~~~~~~~~~~~~~~~~~~~~~~
|
// ~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
//WallInteractionModel SpecularReflection;
|
|
||||||
WallInteractionModel MaxwellianThermal;
|
WallInteractionModel MaxwellianThermal;
|
||||||
|
|
||||||
SpecularReflectionCoeffs {}
|
|
||||||
|
|
||||||
MaxwellianThermalCoeffs {}
|
|
||||||
|
|
||||||
|
|
||||||
// Binary Collision Model
|
// Binary Collision Model
|
||||||
// ~~~~~~~~~~~~~~~~~~~~~~
|
// ~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
//BinaryCollisionModel VariableHardSphere;
|
BinaryCollisionModel VariableHardSphere;
|
||||||
BinaryCollisionModel LarsenBorgnakkeVariableHardSphere;
|
|
||||||
|
|
||||||
VariableHardSphereCoeffs
|
VariableHardSphereCoeffs
|
||||||
{
|
{
|
||||||
Tref 273;
|
Tref 273;
|
||||||
}
|
}
|
||||||
|
|
||||||
LarsenBorgnakkeVariableHardSphereCoeffs
|
|
||||||
{
|
|
||||||
Tref 273;
|
|
||||||
relaxationCollisionNumber 5.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// Inflow Boundary Model
|
// Inflow Boundary Model
|
||||||
// ~~~~~~~~~~~~~~~~~~~~~
|
// ~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
InflowBoundaryModel FreeStream;
|
InflowBoundaryModel FreeStream;
|
||||||
//InflowBoundaryModel NoInflow;
|
|
||||||
|
|
||||||
NoInflowCoeffs {}
|
|
||||||
|
|
||||||
FreeStreamCoeffs
|
FreeStreamCoeffs
|
||||||
{
|
{
|
||||||
|
|||||||
@ -32,9 +32,9 @@ boundaryField
|
|||||||
value uniform 550;
|
value uniform 550;
|
||||||
}
|
}
|
||||||
|
|
||||||
periodic
|
frontAndBack
|
||||||
{
|
{
|
||||||
type cyclic;
|
type empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -32,9 +32,9 @@ boundaryField
|
|||||||
value uniform (0 0 0);
|
value uniform (0 0 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
periodic
|
frontAndBack
|
||||||
{
|
{
|
||||||
type cyclic;
|
type empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -30,9 +30,9 @@ boundaryField
|
|||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|
||||||
periodic
|
frontAndBack
|
||||||
{
|
{
|
||||||
type cyclic;
|
type empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -31,9 +31,9 @@ boundaryField
|
|||||||
value uniform (0 0 0);
|
value uniform (0 0 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
periodic
|
frontAndBack
|
||||||
{
|
{
|
||||||
type cyclic;
|
type empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -31,9 +31,9 @@ boundaryField
|
|||||||
value uniform 0;
|
value uniform 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
periodic
|
frontAndBack
|
||||||
{
|
{
|
||||||
type cyclic;
|
type empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -31,9 +31,9 @@ boundaryField
|
|||||||
value uniform 0;
|
value uniform 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
periodic
|
frontAndBack
|
||||||
{
|
{
|
||||||
type cyclic;
|
type empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -31,9 +31,9 @@ boundaryField
|
|||||||
value uniform 0;
|
value uniform 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
periodic
|
frontAndBack
|
||||||
{
|
{
|
||||||
type cyclic;
|
type empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -31,9 +31,9 @@ boundaryField
|
|||||||
value uniform (0 0 0);
|
value uniform (0 0 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
periodic
|
frontAndBack
|
||||||
{
|
{
|
||||||
type cyclic;
|
type empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -31,9 +31,9 @@ boundaryField
|
|||||||
value uniform 0;
|
value uniform 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
periodic
|
frontAndBack
|
||||||
{
|
{
|
||||||
type cyclic;
|
type empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -31,9 +31,9 @@ boundaryField
|
|||||||
value uniform 0;
|
value uniform 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
periodic
|
frontAndBack
|
||||||
{
|
{
|
||||||
type cyclic;
|
type empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -31,9 +31,9 @@ boundaryField
|
|||||||
value uniform 0;
|
value uniform 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
periodic
|
frontAndBack
|
||||||
{
|
{
|
||||||
type cyclic;
|
type empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -27,8 +27,6 @@ nEquivalentParticles 5e12;
|
|||||||
|
|
||||||
WallInteractionModel MaxwellianThermal;
|
WallInteractionModel MaxwellianThermal;
|
||||||
|
|
||||||
MaxwellianThermalCoeffs {}
|
|
||||||
|
|
||||||
|
|
||||||
// Binary Collision Model
|
// Binary Collision Model
|
||||||
// ~~~~~~~~~~~~~~~~~~~~~~
|
// ~~~~~~~~~~~~~~~~~~~~~~
|
||||||
@ -47,8 +45,6 @@ LarsenBorgnakkeVariableHardSphereCoeffs
|
|||||||
|
|
||||||
InflowBoundaryModel FreeStream;
|
InflowBoundaryModel FreeStream;
|
||||||
|
|
||||||
NoInflowCoeffs {}
|
|
||||||
|
|
||||||
FreeStreamCoeffs
|
FreeStreamCoeffs
|
||||||
{
|
{
|
||||||
numberDensities
|
numberDensities
|
||||||
|
|||||||
@ -18,26 +18,26 @@ convertToMeters 1;
|
|||||||
|
|
||||||
vertices
|
vertices
|
||||||
(
|
(
|
||||||
(-0.15242 0 -0.05)
|
(-0.15242 0 -0.0042)
|
||||||
( 0 0 -0.05)
|
( 0 0 -0.0042)
|
||||||
( 0.3048 0.081670913853 -0.05)
|
( 0.3048 0.081670913853 -0.0042)
|
||||||
(-0.15242 0.3 -0.05)
|
(-0.15242 0.3 -0.0042)
|
||||||
( 0 0.3 -0.05)
|
( 0 0.3 -0.0042)
|
||||||
( 0.3048 0.3 -0.05)
|
( 0.3048 0.3 -0.0042)
|
||||||
|
|
||||||
(-0.15242 0 0.05)
|
(-0.15242 0 0.0042)
|
||||||
( 0 0 0.05)
|
( 0 0 0.0042)
|
||||||
( 0.3048 0.081670913853 0.05)
|
( 0.3048 0.081670913853 0.0042)
|
||||||
(-0.15242 0.3 0.05)
|
(-0.15242 0.3 0.0042)
|
||||||
( 0 0.3 0.05)
|
( 0 0.3 0.0042)
|
||||||
( 0.3048 0.3 0.05)
|
( 0.3048 0.3 0.0042)
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
blocks
|
blocks
|
||||||
(
|
(
|
||||||
hex (0 1 4 3 6 7 10 9 ) (20 40 12) simpleGrading (1 1 1)
|
hex (0 1 4 3 6 7 10 9 ) (20 40 1) simpleGrading (1 1 1)
|
||||||
hex (1 2 5 4 7 8 11 10) (40 40 12) simpleGrading (1 1 1)
|
hex (1 2 5 4 7 8 11 10) (40 40 1) simpleGrading (1 1 1)
|
||||||
);
|
);
|
||||||
|
|
||||||
edges
|
edges
|
||||||
@ -58,7 +58,7 @@ patches
|
|||||||
(
|
(
|
||||||
(1 2 8 7)
|
(1 2 8 7)
|
||||||
)
|
)
|
||||||
cyclic periodic
|
empty frontAndBack
|
||||||
(
|
(
|
||||||
(0 3 4 1)
|
(0 3 4 1)
|
||||||
(1 4 5 2)
|
(1 4 5 2)
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.6 |
|
| \\ / O peration | Version: dev |
|
||||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
@ -20,21 +20,20 @@ FoamFile
|
|||||||
flow
|
flow
|
||||||
{
|
{
|
||||||
type patch;
|
type patch;
|
||||||
nFaces 1920;
|
nFaces 160;
|
||||||
startFace 82800;
|
startFace 4700;
|
||||||
}
|
}
|
||||||
obstacle
|
obstacle
|
||||||
{
|
{
|
||||||
type wall;
|
type wall;
|
||||||
nFaces 480;
|
nFaces 40;
|
||||||
startFace 84720;
|
startFace 4860;
|
||||||
}
|
}
|
||||||
periodic
|
frontAndBack
|
||||||
{
|
{
|
||||||
type cyclic;
|
type empty;
|
||||||
nFaces 4800;
|
nFaces 4800;
|
||||||
startFace 85200;
|
startFace 4900;
|
||||||
featureCos 0.9;
|
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@ -23,14 +23,13 @@ startTime 0;
|
|||||||
|
|
||||||
stopAt endTime;
|
stopAt endTime;
|
||||||
|
|
||||||
endTime 0.00125;
|
endTime 0.02;
|
||||||
// endTime 0.01;
|
|
||||||
|
|
||||||
deltaT 2e-6;
|
deltaT 2e-6;
|
||||||
|
|
||||||
writeControl runTime;
|
writeControl runTime;
|
||||||
|
|
||||||
writeInterval 1e-4;
|
writeInterval 1e-3;
|
||||||
|
|
||||||
purgeWrite 0;
|
purgeWrite 0;
|
||||||
|
|
||||||
|
|||||||
@ -21,7 +21,7 @@ method simple;
|
|||||||
|
|
||||||
simpleCoeffs
|
simpleCoeffs
|
||||||
{
|
{
|
||||||
n ( 1 1 4 );
|
n ( 2 2 1 );
|
||||||
delta 0.001;
|
delta 0.001;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.6 |
|
| \\ / O peration | Version: dev |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,28 +10,42 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volVectorField;
|
class volVectorField;
|
||||||
|
location "0";
|
||||||
object U;
|
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
|
boundaryField
|
||||||
{
|
{
|
||||||
periodicX
|
periodicX_half0
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
periodicY
|
periodicY_half0
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
periodicZ
|
periodicZ_half0
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
periodicY_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
periodicZ_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
periodicX_half1
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -15,28 +15,49 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
3
|
6
|
||||||
(
|
(
|
||||||
periodicX
|
periodicX_half0
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
nFaces 288;
|
nFaces 144;
|
||||||
startFace 4752;
|
startFace 4752;
|
||||||
featureCos 0.9;
|
neighbourPatch periodicX_half1;
|
||||||
}
|
}
|
||||||
periodicY
|
periodicX_half1
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
nFaces 288;
|
nFaces 144;
|
||||||
|
startFace 4896;
|
||||||
|
neighbourPatch periodicX_half0;
|
||||||
|
}
|
||||||
|
periodicY_half0
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
nFaces 144;
|
||||||
startFace 5040;
|
startFace 5040;
|
||||||
featureCos 0.9;
|
neighbourPatch periodicY_half1;
|
||||||
}
|
}
|
||||||
periodicZ
|
periodicY_half1
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
nFaces 288;
|
nFaces 144;
|
||||||
|
startFace 5184;
|
||||||
|
neighbourPatch periodicY_half0;
|
||||||
|
}
|
||||||
|
periodicZ_half0
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
nFaces 144;
|
||||||
startFace 5328;
|
startFace 5328;
|
||||||
featureCos 0.9;
|
neighbourPatch periodicZ_half1;
|
||||||
|
}
|
||||||
|
periodicZ_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
nFaces 144;
|
||||||
|
startFace 5472;
|
||||||
|
neighbourPatch periodicZ_half0;
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.6 |
|
| \\ / O peration | Version: dev |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,28 +10,42 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volVectorField;
|
class volVectorField;
|
||||||
|
location "0";
|
||||||
object U;
|
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
|
boundaryField
|
||||||
{
|
{
|
||||||
periodicX
|
periodicX_half0
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
periodicY
|
periodicY_half0
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
periodicZ
|
periodicZ_half0
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
periodicY_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
periodicZ_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
periodicX_half1
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.6 |
|
| \\ / O peration | Version: dev |
|
||||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
@ -15,28 +15,49 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
3
|
6
|
||||||
(
|
(
|
||||||
periodicX
|
periodicX_half0
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
nFaces 264;
|
nFaces 132;
|
||||||
startFace 4344;
|
startFace 4344;
|
||||||
featureCos 0.9;
|
neighbourPatch periodicX_half1;
|
||||||
}
|
}
|
||||||
periodicY
|
periodicX_half1
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
nFaces 264;
|
nFaces 132;
|
||||||
|
startFace 4476;
|
||||||
|
neighbourPatch periodicX_half0;
|
||||||
|
}
|
||||||
|
periodicY_half0
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
nFaces 132;
|
||||||
startFace 4608;
|
startFace 4608;
|
||||||
featureCos 0.9;
|
neighbourPatch periodicY_half1;
|
||||||
}
|
}
|
||||||
periodicZ
|
periodicY_half1
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
nFaces 288;
|
nFaces 132;
|
||||||
|
startFace 4740;
|
||||||
|
neighbourPatch periodicY_half0;
|
||||||
|
}
|
||||||
|
periodicZ_half0
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
nFaces 144;
|
||||||
startFace 4872;
|
startFace 4872;
|
||||||
featureCos 0.9;
|
neighbourPatch periodicZ_half1;
|
||||||
|
}
|
||||||
|
periodicZ_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
nFaces 144;
|
||||||
|
startFace 5016;
|
||||||
|
neighbourPatch periodicZ_half0;
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user