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 * * * * * * * * * * * * * * //
|
||||
|
||||
template<class CloudType>
|
||||
Foam::BinaryCollisionModel<CloudType>::BinaryCollisionModel(CloudType& owner)
|
||||
:
|
||||
dict_(dictionary::null),
|
||||
owner_(owner),
|
||||
coeffDict_(dictionary::null)
|
||||
{}
|
||||
|
||||
|
||||
template<class CloudType>
|
||||
Foam::BinaryCollisionModel<CloudType>::BinaryCollisionModel
|
||||
(
|
||||
@ -87,4 +96,3 @@ Foam::BinaryCollisionModel<CloudType>::coeffDict() const
|
||||
#include "BinaryCollisionModelNew.C"
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
|
||||
@ -85,6 +85,9 @@ public:
|
||||
|
||||
// Constructors
|
||||
|
||||
//- Construct null from owner
|
||||
BinaryCollisionModel(CloudType& owner);
|
||||
|
||||
//- Construct from components
|
||||
BinaryCollisionModel
|
||||
(
|
||||
|
||||
@ -27,6 +27,15 @@ License
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
template<class CloudType>
|
||||
Foam::InflowBoundaryModel<CloudType>::InflowBoundaryModel(CloudType& owner)
|
||||
:
|
||||
dict_(dictionary::null),
|
||||
owner_(owner),
|
||||
coeffDict_(dictionary::null)
|
||||
{}
|
||||
|
||||
|
||||
template<class CloudType>
|
||||
Foam::InflowBoundaryModel<CloudType>::InflowBoundaryModel
|
||||
(
|
||||
|
||||
@ -86,6 +86,9 @@ public:
|
||||
|
||||
// Constructors
|
||||
|
||||
//- Construct null from owner
|
||||
InflowBoundaryModel(CloudType& owner);
|
||||
|
||||
//- Construct from dictionary
|
||||
InflowBoundaryModel
|
||||
(
|
||||
|
||||
@ -34,7 +34,7 @@ Foam::NoInflow<CloudType>::NoInflow
|
||||
CloudType& cloud
|
||||
)
|
||||
:
|
||||
InflowBoundaryModel<CloudType>(dict, cloud, typeName)
|
||||
InflowBoundaryModel<CloudType>(cloud)
|
||||
{}
|
||||
|
||||
|
||||
|
||||
@ -50,7 +50,7 @@ class NoInflow
|
||||
public:
|
||||
|
||||
//- Runtime type information
|
||||
TypeName("NoInflow");
|
||||
TypeName("none");
|
||||
|
||||
|
||||
// Constructors
|
||||
|
||||
@ -37,7 +37,7 @@ Foam::MaxwellianThermal<CloudType>::MaxwellianThermal
|
||||
CloudType& cloud
|
||||
)
|
||||
:
|
||||
WallInteractionModel<CloudType>(dict, cloud, typeName)
|
||||
WallInteractionModel<CloudType>(cloud)
|
||||
{}
|
||||
|
||||
|
||||
|
||||
@ -36,7 +36,7 @@ Foam::SpecularReflection<CloudType>::SpecularReflection
|
||||
CloudType& cloud
|
||||
)
|
||||
:
|
||||
WallInteractionModel<CloudType>(dict, cloud, typeName)
|
||||
WallInteractionModel<CloudType>(cloud)
|
||||
{}
|
||||
|
||||
|
||||
|
||||
@ -27,6 +27,15 @@ License
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
template<class CloudType>
|
||||
Foam::WallInteractionModel<CloudType>::WallInteractionModel(CloudType& owner)
|
||||
:
|
||||
dict_(dictionary::null),
|
||||
owner_(owner),
|
||||
coeffDict_(dictionary::null)
|
||||
{}
|
||||
|
||||
|
||||
template<class CloudType>
|
||||
Foam::WallInteractionModel<CloudType>::WallInteractionModel
|
||||
(
|
||||
|
||||
@ -85,6 +85,9 @@ public:
|
||||
|
||||
// Constructors
|
||||
|
||||
//- Construct null from owner
|
||||
WallInteractionModel(CloudType& owner);
|
||||
|
||||
//- Construct from components
|
||||
WallInteractionModel
|
||||
(
|
||||
|
||||
@ -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,6 +10,7 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0";
|
||||
object boundaryT;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -20,20 +21,31 @@ internalField uniform 0;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
xPeriodic
|
||||
xPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
yPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
zPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
yPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
zPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
xPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
yPeriodic
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
zPeriodic
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -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,6 +10,7 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volVectorField;
|
||||
location "0";
|
||||
object boundaryU;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -20,20 +21,31 @@ internalField uniform (0 0 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
xPeriodic
|
||||
xPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
yPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
zPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
yPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
zPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
xPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
yPeriodic
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
zPeriodic
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -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,6 +10,7 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0";
|
||||
object dsmcRhoN;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -20,20 +21,31 @@ internalField uniform 0;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
xPeriodic
|
||||
xPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
yPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
zPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
yPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
zPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
xPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
yPeriodic
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
zPeriodic
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -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,6 +10,7 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volVectorField;
|
||||
location "0";
|
||||
object fD;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -20,20 +21,31 @@ internalField uniform (0 0 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
xPeriodic
|
||||
xPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
yPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
zPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
yPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
zPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
xPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
yPeriodic
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
zPeriodic
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -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,6 +10,7 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0";
|
||||
object iDof;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -20,20 +21,31 @@ internalField uniform 0;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
xPeriodic
|
||||
xPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
yPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
zPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
yPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
zPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
xPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
yPeriodic
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
zPeriodic
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -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,6 +10,7 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0";
|
||||
object internalE;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -20,20 +21,31 @@ internalField uniform 0;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
xPeriodic
|
||||
xPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
yPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
zPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
yPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
zPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
xPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
yPeriodic
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
zPeriodic
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -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,6 +10,7 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0";
|
||||
object linearKE;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -20,20 +21,31 @@ internalField uniform 0;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
xPeriodic
|
||||
xPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
yPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
zPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
yPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
zPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
xPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
yPeriodic
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
zPeriodic
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -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,6 +10,7 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volVectorField;
|
||||
location "0";
|
||||
object momentum;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -20,20 +21,31 @@ internalField uniform (0 0 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
xPeriodic
|
||||
xPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
yPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
zPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
yPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
zPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
xPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
yPeriodic
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
zPeriodic
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -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,6 +10,7 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0";
|
||||
object q;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -20,20 +21,31 @@ internalField uniform 0;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
xPeriodic
|
||||
xPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
yPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
zPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
yPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
zPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
xPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
yPeriodic
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
zPeriodic
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -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,6 +10,7 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0";
|
||||
object rhoM;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -20,20 +21,31 @@ internalField uniform 0;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
xPeriodic
|
||||
xPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
yPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
zPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
yPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
zPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
xPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
yPeriodic
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
zPeriodic
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -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,6 +10,7 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0";
|
||||
object rhoN;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -20,20 +21,31 @@ internalField uniform 0;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
xPeriodic
|
||||
xPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
yPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
zPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
yPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
zPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
xPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
yPeriodic
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
zPeriodic
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -27,7 +27,6 @@ nEquivalentParticles 1e12;
|
||||
|
||||
WallInteractionModel SpecularReflection;
|
||||
|
||||
SpecularReflectionCoeffs {}
|
||||
|
||||
// Binary Collision Model
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~
|
||||
@ -43,9 +42,8 @@ LarsenBorgnakkeVariableHardSphereCoeffs
|
||||
|
||||
// Inflow Boundary Model
|
||||
// ~~~~~~~~~~~~~~~~~~~~~
|
||||
InflowBoundaryModel NoInflow;
|
||||
InflowBoundaryModel none;
|
||||
|
||||
NoInflowCoeffs {}
|
||||
|
||||
// Molecular species
|
||||
// ~~~~~~~~~~~~~~~~~
|
||||
|
||||
@ -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
|
||||
(
|
||||
xPeriodic
|
||||
xPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
nFaces 512;
|
||||
nFaces 256;
|
||||
startFace 14464;
|
||||
featureCos 0.9;
|
||||
neighbourPatch xPeriodic_half1;
|
||||
}
|
||||
yPeriodic
|
||||
xPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
nFaces 640;
|
||||
nFaces 256;
|
||||
startFace 14720;
|
||||
neighbourPatch xPeriodic_half0;
|
||||
}
|
||||
yPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
nFaces 320;
|
||||
startFace 14976;
|
||||
featureCos 0.9;
|
||||
neighbourPatch yPeriodic_half1;
|
||||
}
|
||||
zPeriodic
|
||||
yPeriodic_half1
|
||||
{
|
||||
type cyclic;
|
||||
nFaces 640;
|
||||
nFaces 320;
|
||||
startFace 15296;
|
||||
neighbourPatch yPeriodic_half0;
|
||||
}
|
||||
zPeriodic_half0
|
||||
{
|
||||
type cyclic;
|
||||
nFaces 320;
|
||||
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;
|
||||
|
||||
MaxwellianThermalCoeffs {}
|
||||
|
||||
|
||||
// Binary Collision Model
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
@ -25,39 +25,24 @@ nEquivalentParticles 1.2e12;
|
||||
// Wall Interaction Model
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
//WallInteractionModel SpecularReflection;
|
||||
WallInteractionModel MaxwellianThermal;
|
||||
|
||||
SpecularReflectionCoeffs {}
|
||||
|
||||
MaxwellianThermalCoeffs {}
|
||||
|
||||
|
||||
// Binary Collision Model
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
//BinaryCollisionModel VariableHardSphere;
|
||||
BinaryCollisionModel LarsenBorgnakkeVariableHardSphere;
|
||||
BinaryCollisionModel VariableHardSphere;
|
||||
|
||||
VariableHardSphereCoeffs
|
||||
{
|
||||
Tref 273;
|
||||
}
|
||||
|
||||
LarsenBorgnakkeVariableHardSphereCoeffs
|
||||
{
|
||||
Tref 273;
|
||||
relaxationCollisionNumber 5.0;
|
||||
}
|
||||
|
||||
|
||||
// Inflow Boundary Model
|
||||
// ~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
InflowBoundaryModel FreeStream;
|
||||
//InflowBoundaryModel NoInflow;
|
||||
|
||||
NoInflowCoeffs {}
|
||||
|
||||
FreeStreamCoeffs
|
||||
{
|
||||
|
||||
@ -32,9 +32,9 @@ boundaryField
|
||||
value uniform 550;
|
||||
}
|
||||
|
||||
periodic
|
||||
frontAndBack
|
||||
{
|
||||
type cyclic;
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -32,9 +32,9 @@ boundaryField
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
|
||||
periodic
|
||||
frontAndBack
|
||||
{
|
||||
type cyclic;
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -30,9 +30,9 @@ boundaryField
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
periodic
|
||||
frontAndBack
|
||||
{
|
||||
type cyclic;
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -31,9 +31,9 @@ boundaryField
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
|
||||
periodic
|
||||
frontAndBack
|
||||
{
|
||||
type cyclic;
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -31,9 +31,9 @@ boundaryField
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
periodic
|
||||
frontAndBack
|
||||
{
|
||||
type cyclic;
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -31,9 +31,9 @@ boundaryField
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
periodic
|
||||
frontAndBack
|
||||
{
|
||||
type cyclic;
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -31,9 +31,9 @@ boundaryField
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
periodic
|
||||
frontAndBack
|
||||
{
|
||||
type cyclic;
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -31,9 +31,9 @@ boundaryField
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
|
||||
periodic
|
||||
frontAndBack
|
||||
{
|
||||
type cyclic;
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -31,9 +31,9 @@ boundaryField
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
periodic
|
||||
frontAndBack
|
||||
{
|
||||
type cyclic;
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -31,9 +31,9 @@ boundaryField
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
periodic
|
||||
frontAndBack
|
||||
{
|
||||
type cyclic;
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -31,9 +31,9 @@ boundaryField
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
periodic
|
||||
frontAndBack
|
||||
{
|
||||
type cyclic;
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -27,8 +27,6 @@ nEquivalentParticles 5e12;
|
||||
|
||||
WallInteractionModel MaxwellianThermal;
|
||||
|
||||
MaxwellianThermalCoeffs {}
|
||||
|
||||
|
||||
// Binary Collision Model
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~
|
||||
@ -47,8 +45,6 @@ LarsenBorgnakkeVariableHardSphereCoeffs
|
||||
|
||||
InflowBoundaryModel FreeStream;
|
||||
|
||||
NoInflowCoeffs {}
|
||||
|
||||
FreeStreamCoeffs
|
||||
{
|
||||
numberDensities
|
||||
|
||||
@ -18,26 +18,26 @@ convertToMeters 1;
|
||||
|
||||
vertices
|
||||
(
|
||||
(-0.15242 0 -0.05)
|
||||
( 0 0 -0.05)
|
||||
( 0.3048 0.081670913853 -0.05)
|
||||
(-0.15242 0.3 -0.05)
|
||||
( 0 0.3 -0.05)
|
||||
( 0.3048 0.3 -0.05)
|
||||
(-0.15242 0 -0.0042)
|
||||
( 0 0 -0.0042)
|
||||
( 0.3048 0.081670913853 -0.0042)
|
||||
(-0.15242 0.3 -0.0042)
|
||||
( 0 0.3 -0.0042)
|
||||
( 0.3048 0.3 -0.0042)
|
||||
|
||||
(-0.15242 0 0.05)
|
||||
( 0 0 0.05)
|
||||
( 0.3048 0.081670913853 0.05)
|
||||
(-0.15242 0.3 0.05)
|
||||
( 0 0.3 0.05)
|
||||
( 0.3048 0.3 0.05)
|
||||
(-0.15242 0 0.0042)
|
||||
( 0 0 0.0042)
|
||||
( 0.3048 0.081670913853 0.0042)
|
||||
(-0.15242 0.3 0.0042)
|
||||
( 0 0.3 0.0042)
|
||||
( 0.3048 0.3 0.0042)
|
||||
|
||||
);
|
||||
|
||||
blocks
|
||||
(
|
||||
hex (0 1 4 3 6 7 10 9 ) (20 40 12) simpleGrading (1 1 1)
|
||||
hex (1 2 5 4 7 8 11 10) (40 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 1) simpleGrading (1 1 1)
|
||||
);
|
||||
|
||||
edges
|
||||
@ -58,7 +58,7 @@ patches
|
||||
(
|
||||
(1 2 8 7)
|
||||
)
|
||||
cyclic periodic
|
||||
empty frontAndBack
|
||||
(
|
||||
(0 3 4 1)
|
||||
(1 4 5 2)
|
||||
|
||||
@ -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 | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
@ -20,21 +20,20 @@ FoamFile
|
||||
flow
|
||||
{
|
||||
type patch;
|
||||
nFaces 1920;
|
||||
startFace 82800;
|
||||
nFaces 160;
|
||||
startFace 4700;
|
||||
}
|
||||
obstacle
|
||||
{
|
||||
type wall;
|
||||
nFaces 480;
|
||||
startFace 84720;
|
||||
nFaces 40;
|
||||
startFace 4860;
|
||||
}
|
||||
periodic
|
||||
frontAndBack
|
||||
{
|
||||
type cyclic;
|
||||
type empty;
|
||||
nFaces 4800;
|
||||
startFace 85200;
|
||||
featureCos 0.9;
|
||||
startFace 4900;
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@ -23,14 +23,13 @@ startTime 0;
|
||||
|
||||
stopAt endTime;
|
||||
|
||||
endTime 0.00125;
|
||||
// endTime 0.01;
|
||||
endTime 0.02;
|
||||
|
||||
deltaT 2e-6;
|
||||
|
||||
writeControl runTime;
|
||||
|
||||
writeInterval 1e-4;
|
||||
writeInterval 1e-3;
|
||||
|
||||
purgeWrite 0;
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@ method simple;
|
||||
|
||||
simpleCoeffs
|
||||
{
|
||||
n ( 1 1 4 );
|
||||
n ( 2 2 1 );
|
||||
delta 0.001;
|
||||
}
|
||||
|
||||
|
||||
@ -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,6 +10,7 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volVectorField;
|
||||
location "0";
|
||||
object U;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -20,18 +21,31 @@ 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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -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;
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@ -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,6 +10,7 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volVectorField;
|
||||
location "0";
|
||||
object U;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -20,18 +21,31 @@ 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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -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;
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user