mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev
This commit is contained in:
0
tutorials/combustion/PDRFoam/flamePropagationWithObstacles/constant/PDRProperties
Executable file → Normal file
0
tutorials/combustion/PDRFoam/flamePropagationWithObstacles/constant/PDRProperties
Executable file → Normal file
0
tutorials/combustion/PDRFoam/flamePropagationWithObstacles/constant/RASProperties
Executable file → Normal file
0
tutorials/combustion/PDRFoam/flamePropagationWithObstacles/constant/RASProperties
Executable file → Normal file
0
tutorials/combustion/PDRFoam/flamePropagationWithObstacles/constant/g
Executable file → Normal file
0
tutorials/combustion/PDRFoam/flamePropagationWithObstacles/constant/g
Executable file → Normal file
0
tutorials/combustion/PDRFoam/flamePropagationWithObstacles/constant/turbulenceProperties
Executable file → Normal file
0
tutorials/combustion/PDRFoam/flamePropagationWithObstacles/constant/turbulenceProperties
Executable file → Normal file
0
tutorials/combustion/PDRFoam/flamePropagationWithObstacles/system/fvSchemes
Executable file → Normal file
0
tutorials/combustion/PDRFoam/flamePropagationWithObstacles/system/fvSchemes
Executable file → Normal file
0
tutorials/combustion/PDRFoam/flamePropagationWithObstacles/system/fvSolution
Executable file → Normal file
0
tutorials/combustion/PDRFoam/flamePropagationWithObstacles/system/fvSolution
Executable file → Normal file
@ -22,13 +22,28 @@ FoamFile
|
||||
// is done for all coupled faces, not just for any patches created.
|
||||
// - optional: synchronise points on coupled patches.
|
||||
|
||||
// Tolerance used in matching faces. Absolute tolerance is span of
|
||||
// face times this factor. To load incorrectly matches meshes set this
|
||||
// to a higher value.
|
||||
matchTolerance 1e-3;
|
||||
// 1. Create cyclic:
|
||||
// - specify where the faces should come from
|
||||
// - specify the type of cyclic. If a rotational specify the rotationAxis
|
||||
// and centre to make matching easier
|
||||
// - always create both halves in one invocation with correct 'neighbourPatch'
|
||||
// setting.
|
||||
// - optionally pointSync true to guarantee points to line up.
|
||||
|
||||
// 2. Correct incorrect cyclic:
|
||||
// This will usually fail upon loading:
|
||||
// "face 0 area does not match neighbour 2 by 0.0100005%"
|
||||
// " -- possible face ordering problem."
|
||||
// - in polyMesh/boundary file:
|
||||
// - loosen matchTolerance of all cyclics to get case to load
|
||||
// - or change patch type from 'cyclic' to 'patch'
|
||||
// and regenerate cyclic as above
|
||||
|
||||
|
||||
// Do a synchronisation of coupled points after creation of any patches.
|
||||
pointSync true;
|
||||
// Note: this does not work with points that are on multiple coupled patches
|
||||
// with transformations (i.e. cyclics).
|
||||
pointSync false;
|
||||
|
||||
// Patches to create.
|
||||
patches
|
||||
|
||||
@ -22,13 +22,28 @@ FoamFile
|
||||
// is done for all coupled faces, not just for any patches created.
|
||||
// - optional: synchronise points on coupled patches.
|
||||
|
||||
// Tolerance used in matching faces. Absolute tolerance is span of
|
||||
// face times this factor. To load incorrectly matches meshes set this
|
||||
// to a higher value.
|
||||
matchTolerance 1e-3;
|
||||
// 1. Create cyclic:
|
||||
// - specify where the faces should come from
|
||||
// - specify the type of cyclic. If a rotational specify the rotationAxis
|
||||
// and centre to make matching easier
|
||||
// - always create both halves in one invocation with correct 'neighbourPatch'
|
||||
// setting.
|
||||
// - optionally pointSync true to guarantee points to line up.
|
||||
|
||||
// 2. Correct incorrect cyclic:
|
||||
// This will usually fail upon loading:
|
||||
// "face 0 area does not match neighbour 2 by 0.0100005%"
|
||||
// " -- possible face ordering problem."
|
||||
// - in polyMesh/boundary file:
|
||||
// - loosen matchTolerance of all cyclics to get case to load
|
||||
// - or change patch type from 'cyclic' to 'patch'
|
||||
// and regenerate cyclic as above
|
||||
|
||||
|
||||
// Do a synchronisation of coupled points after creation of any patches.
|
||||
pointSync true;
|
||||
// Note: this does not work with points that are on multiple coupled patches
|
||||
// with transformations (i.e. cyclics).
|
||||
pointSync false;
|
||||
|
||||
// Patches to create.
|
||||
patches
|
||||
|
||||
0
tutorials/combustion/reactingFoam/ras/counterFlowFlame2D/system/fvSolution
Executable file → Normal file
0
tutorials/combustion/reactingFoam/ras/counterFlowFlame2D/system/fvSolution
Executable file → Normal file
@ -1,3 +1,4 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
|
||||
|
||||
@ -23,7 +23,7 @@ startTime 0;
|
||||
|
||||
stopAt endTime;
|
||||
|
||||
endTime 0.025;
|
||||
endTime 0.01;
|
||||
|
||||
deltaT 1e-6;
|
||||
|
||||
|
||||
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
12
tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/Allrun
Executable file
12
tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/Allrun
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
application=`getApplication`
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication $application
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
@ -20,35 +20,12 @@ internalField uniform 0;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
floor
|
||||
".*"
|
||||
{
|
||||
type MarshakRadiation;
|
||||
T T;
|
||||
emissivity 1;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
fixedWalls
|
||||
{
|
||||
type MarshakRadiation;
|
||||
T T;
|
||||
emissivity 1;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
ceiling
|
||||
{
|
||||
type MarshakRadiation;
|
||||
T T;
|
||||
emissivity 1;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
box
|
||||
{
|
||||
type MarshakRadiation;
|
||||
T T;
|
||||
emissivity 1;
|
||||
emissivityMode lookup;
|
||||
emissivity uniform 1.0;
|
||||
value uniform 0;
|
||||
}
|
||||
}
|
||||
|
||||
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
application=`getApplication`
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication $application
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
@ -1,29 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
object cp;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 2 -2 -1 0 0 0];
|
||||
|
||||
internalField uniform 450;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
".*"
|
||||
{
|
||||
type calculated;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,29 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
object rho;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [1 -3 0 0 0 0 0];
|
||||
|
||||
internalField uniform 8000;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
".*"
|
||||
{
|
||||
type calculated;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,7 +1,7 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
@ -139,7 +139,7 @@ charCoeffs
|
||||
thermoProperties
|
||||
{
|
||||
Hf 0;
|
||||
C0 611.0;; // Cp = C0*(T/Tref)^n0
|
||||
C0 611.0; // Cp = C0*(T/Tref)^n0
|
||||
Tref 300;
|
||||
n0 1.31;
|
||||
}
|
||||
|
||||
@ -19,13 +19,7 @@ FoamFile
|
||||
|
||||
numberOfSubdomains 4;
|
||||
|
||||
//- Keep owner and neighbour on same processor for faces in zones:
|
||||
// preserveFaceZones (heater solid1 solid3);
|
||||
|
||||
method scotch;
|
||||
// method hierarchical;
|
||||
// method simple;
|
||||
// method manual;
|
||||
|
||||
simpleCoeffs
|
||||
{
|
||||
@ -40,33 +34,10 @@ hierarchicalCoeffs
|
||||
order xyz;
|
||||
}
|
||||
|
||||
scotchCoeffs
|
||||
{
|
||||
//processorWeights
|
||||
//(
|
||||
// 1
|
||||
// 1
|
||||
// 1
|
||||
// 1
|
||||
//);
|
||||
//writeGraph true;
|
||||
//strategy "b";
|
||||
}
|
||||
|
||||
manualCoeffs
|
||||
{
|
||||
dataFile "decompositionData";
|
||||
}
|
||||
|
||||
|
||||
//// Is the case distributed
|
||||
//distributed yes;
|
||||
//// Per slave (so nProcs-1 entries) the directory above the case.
|
||||
//roots
|
||||
//(
|
||||
// "/tmp"
|
||||
// "/tmp"
|
||||
//);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -40,12 +40,12 @@ divSchemes
|
||||
laplacianSchemes
|
||||
{
|
||||
default none;
|
||||
laplacian(muEff,U) Gauss linear limited 0.333;
|
||||
laplacian((rho*(1|A(U))),p_rgh) Gauss linear limited 0.333;
|
||||
laplacian(alphaEff,h) Gauss linear limited 0.333;
|
||||
laplacian(DkEff,k) Gauss linear limited 0.333;
|
||||
laplacian(DepsilonEff,epsilon) Gauss linear limited 0.333;
|
||||
laplacian(DREff,R) Gauss linear limited 0.333;
|
||||
laplacian(muEff,U) Gauss linear uncorrected;
|
||||
laplacian((rho*(1|A(U))),p_rgh) Gauss linear uncorrected;
|
||||
laplacian(alphaEff,h) Gauss linear uncorrected;
|
||||
laplacian(DkEff,k) Gauss linear uncorrected;
|
||||
laplacian(DepsilonEff,epsilon) Gauss linear uncorrected;
|
||||
laplacian(DREff,R) Gauss linear uncorrected;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
@ -55,7 +55,7 @@ interpolationSchemes
|
||||
|
||||
snGradSchemes
|
||||
{
|
||||
default limited 0.333;
|
||||
default uncorrected;
|
||||
}
|
||||
|
||||
fluxRequired
|
||||
|
||||
@ -19,13 +19,7 @@ FoamFile
|
||||
|
||||
numberOfSubdomains 4;
|
||||
|
||||
//- Keep owner and neighbour on same processor for faces in zones:
|
||||
// preserveFaceZones (heater solid1 solid3);
|
||||
|
||||
method scotch;
|
||||
// method hierarchical;
|
||||
// method simple;
|
||||
// method manual;
|
||||
|
||||
simpleCoeffs
|
||||
{
|
||||
@ -40,33 +34,10 @@ hierarchicalCoeffs
|
||||
order xyz;
|
||||
}
|
||||
|
||||
scotchCoeffs
|
||||
{
|
||||
//processorWeights
|
||||
//(
|
||||
// 1
|
||||
// 1
|
||||
// 1
|
||||
// 1
|
||||
//);
|
||||
//writeGraph true;
|
||||
//strategy "b";
|
||||
}
|
||||
|
||||
manualCoeffs
|
||||
{
|
||||
dataFile "decompositionData";
|
||||
}
|
||||
|
||||
|
||||
//// Is the case distributed
|
||||
//distributed yes;
|
||||
//// Per slave (so nProcs-1 entries) the directory above the case.
|
||||
//roots
|
||||
//(
|
||||
// "/tmp"
|
||||
// "/tmp"
|
||||
//);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -16,7 +16,7 @@ FoamFile
|
||||
|
||||
ddtSchemes
|
||||
{
|
||||
default steadyState;
|
||||
default steadyState;
|
||||
}
|
||||
|
||||
gradSchemes
|
||||
@ -32,7 +32,7 @@ divSchemes
|
||||
laplacianSchemes
|
||||
{
|
||||
default none;
|
||||
laplacian(K,T) Gauss linear limited 0.333;
|
||||
laplacian(K,T) Gauss linear uncorrected;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
@ -42,7 +42,7 @@ interpolationSchemes
|
||||
|
||||
snGradSchemes
|
||||
{
|
||||
default limited 0.333;
|
||||
default uncorrected;
|
||||
}
|
||||
|
||||
fluxRequired
|
||||
|
||||
@ -19,13 +19,7 @@ FoamFile
|
||||
|
||||
numberOfSubdomains 4;
|
||||
|
||||
//- Keep owner and neighbour on same processor for faces in zones:
|
||||
// preserveFaceZones (heater solid1 solid3);
|
||||
|
||||
method scotch;
|
||||
// method hierarchical;
|
||||
// method simple;
|
||||
// method manual;
|
||||
|
||||
simpleCoeffs
|
||||
{
|
||||
@ -40,18 +34,6 @@ hierarchicalCoeffs
|
||||
order xyz;
|
||||
}
|
||||
|
||||
scotchCoeffs
|
||||
{
|
||||
//processorWeights
|
||||
//(
|
||||
// 1
|
||||
// 1
|
||||
// 1
|
||||
// 1
|
||||
//);
|
||||
//writeGraph true;
|
||||
//strategy "b";
|
||||
}
|
||||
|
||||
manualCoeffs
|
||||
{
|
||||
@ -59,14 +41,4 @@ manualCoeffs
|
||||
}
|
||||
|
||||
|
||||
//// Is the case distributed
|
||||
//distributed yes;
|
||||
//// Per slave (so nProcs-1 entries) the directory above the case.
|
||||
//roots
|
||||
//(
|
||||
// "/tmp"
|
||||
// "/tmp"
|
||||
//);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -16,7 +16,7 @@ FoamFile
|
||||
|
||||
ddtSchemes
|
||||
{
|
||||
default steadyState;
|
||||
default steadyState;
|
||||
}
|
||||
|
||||
gradSchemes
|
||||
@ -32,7 +32,7 @@ divSchemes
|
||||
laplacianSchemes
|
||||
{
|
||||
default none;
|
||||
laplacian(K,T) Gauss linear limited 0.333;
|
||||
laplacian(K,T) Gauss linear uncorrected;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
@ -42,7 +42,7 @@ interpolationSchemes
|
||||
|
||||
snGradSchemes
|
||||
{
|
||||
default limited 0.333;
|
||||
default uncorrected;
|
||||
}
|
||||
|
||||
fluxRequired
|
||||
|
||||
@ -19,13 +19,8 @@ FoamFile
|
||||
|
||||
numberOfSubdomains 4;
|
||||
|
||||
//- Keep owner and neighbour on same processor for faces in zones:
|
||||
// preserveFaceZones (heater solid1 solid3);
|
||||
|
||||
method scotch;
|
||||
// method hierarchical;
|
||||
// method simple;
|
||||
// method manual;
|
||||
|
||||
simpleCoeffs
|
||||
{
|
||||
@ -40,18 +35,6 @@ hierarchicalCoeffs
|
||||
order xyz;
|
||||
}
|
||||
|
||||
scotchCoeffs
|
||||
{
|
||||
//processorWeights
|
||||
//(
|
||||
// 1
|
||||
// 1
|
||||
// 1
|
||||
// 1
|
||||
//);
|
||||
//writeGraph true;
|
||||
//strategy "b";
|
||||
}
|
||||
|
||||
manualCoeffs
|
||||
{
|
||||
@ -59,14 +42,4 @@ manualCoeffs
|
||||
}
|
||||
|
||||
|
||||
//// Is the case distributed
|
||||
//distributed yes;
|
||||
//// Per slave (so nProcs-1 entries) the directory above the case.
|
||||
//roots
|
||||
//(
|
||||
// "/tmp"
|
||||
// "/tmp"
|
||||
//);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -16,7 +16,7 @@ FoamFile
|
||||
|
||||
ddtSchemes
|
||||
{
|
||||
default steadyState;
|
||||
default steadyState;
|
||||
}
|
||||
|
||||
gradSchemes
|
||||
@ -32,7 +32,7 @@ divSchemes
|
||||
laplacianSchemes
|
||||
{
|
||||
default none;
|
||||
laplacian(K,T) Gauss linear limited 0.333;
|
||||
laplacian(K,T) Gauss linear uncorrected;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
@ -42,7 +42,7 @@ interpolationSchemes
|
||||
|
||||
snGradSchemes
|
||||
{
|
||||
default limited 0.333;
|
||||
default uncorrected;
|
||||
}
|
||||
|
||||
fluxRequired
|
||||
|
||||
@ -19,13 +19,8 @@ FoamFile
|
||||
|
||||
numberOfSubdomains 4;
|
||||
|
||||
//- Keep owner and neighbour on same processor for faces in zones:
|
||||
// preserveFaceZones (heater solid1 solid3);
|
||||
|
||||
method scotch;
|
||||
// method hierarchical;
|
||||
// method simple;
|
||||
// method manual;
|
||||
|
||||
simpleCoeffs
|
||||
{
|
||||
@ -40,18 +35,6 @@ hierarchicalCoeffs
|
||||
order xyz;
|
||||
}
|
||||
|
||||
scotchCoeffs
|
||||
{
|
||||
//processorWeights
|
||||
//(
|
||||
// 1
|
||||
// 1
|
||||
// 1
|
||||
// 1
|
||||
//);
|
||||
//writeGraph true;
|
||||
//strategy "b";
|
||||
}
|
||||
|
||||
manualCoeffs
|
||||
{
|
||||
@ -59,14 +42,4 @@ manualCoeffs
|
||||
}
|
||||
|
||||
|
||||
//// Is the case distributed
|
||||
//distributed yes;
|
||||
//// Per slave (so nProcs-1 entries) the directory above the case.
|
||||
//roots
|
||||
//(
|
||||
// "/tmp"
|
||||
// "/tmp"
|
||||
//);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -16,7 +16,7 @@ FoamFile
|
||||
|
||||
ddtSchemes
|
||||
{
|
||||
default steadyState;
|
||||
default steadyState;
|
||||
}
|
||||
|
||||
gradSchemes
|
||||
@ -40,12 +40,12 @@ divSchemes
|
||||
laplacianSchemes
|
||||
{
|
||||
default none;
|
||||
laplacian(muEff,U) Gauss linear limited 0.333;
|
||||
laplacian((rho*(1|A(U))),p_rgh) Gauss linear limited 0.333;
|
||||
laplacian(alphaEff,h) Gauss linear limited 0.333;
|
||||
laplacian(DkEff,k) Gauss linear limited 0.333;
|
||||
laplacian(DepsilonEff,epsilon) Gauss linear limited 0.333;
|
||||
laplacian(DREff,R) Gauss linear limited 0.333;
|
||||
laplacian(muEff,U) Gauss linear uncorrected;
|
||||
laplacian((rho*(1|A(U))),p_rgh) Gauss linear uncorrected;
|
||||
laplacian(alphaEff,h) Gauss linear uncorrected;
|
||||
laplacian(DkEff,k) Gauss linear uncorrected;
|
||||
laplacian(DepsilonEff,epsilon) Gauss linear uncorrected;
|
||||
laplacian(DREff,R) Gauss linear uncorrected;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
@ -55,7 +55,7 @@ interpolationSchemes
|
||||
|
||||
snGradSchemes
|
||||
{
|
||||
default limited 0.333;
|
||||
default uncorrected;
|
||||
}
|
||||
|
||||
fluxRequired
|
||||
|
||||
@ -1,29 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
object rho;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [1 -3 0 0 0 0 0];
|
||||
|
||||
internalField uniform 8000;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
".*"
|
||||
{
|
||||
type calculated;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -14,7 +14,7 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
RASModel laminar;
|
||||
RASModel laminar;
|
||||
|
||||
turbulence on;
|
||||
|
||||
|
||||
@ -19,13 +19,7 @@ FoamFile
|
||||
|
||||
numberOfSubdomains 4;
|
||||
|
||||
//- Keep owner and neighbour on same processor for faces in zones:
|
||||
// preserveFaceZones (heater solid1 solid3);
|
||||
|
||||
method scotch;
|
||||
// method hierarchical;
|
||||
// method simple;
|
||||
// method manual;
|
||||
|
||||
simpleCoeffs
|
||||
{
|
||||
@ -40,18 +34,6 @@ hierarchicalCoeffs
|
||||
order xyz;
|
||||
}
|
||||
|
||||
scotchCoeffs
|
||||
{
|
||||
//processorWeights
|
||||
//(
|
||||
// 1
|
||||
// 1
|
||||
// 1
|
||||
// 1
|
||||
//);
|
||||
//writeGraph true;
|
||||
//strategy "b";
|
||||
}
|
||||
|
||||
manualCoeffs
|
||||
{
|
||||
@ -59,14 +41,4 @@ manualCoeffs
|
||||
}
|
||||
|
||||
|
||||
//// Is the case distributed
|
||||
//distributed yes;
|
||||
//// Per slave (so nProcs-1 entries) the directory above the case.
|
||||
//roots
|
||||
//(
|
||||
// "/tmp"
|
||||
// "/tmp"
|
||||
//);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -16,7 +16,7 @@ FoamFile
|
||||
|
||||
ddtSchemes
|
||||
{
|
||||
default steadyState;
|
||||
default steadyState;
|
||||
}
|
||||
|
||||
gradSchemes
|
||||
@ -41,13 +41,13 @@ divSchemes
|
||||
laplacianSchemes
|
||||
{
|
||||
default none;
|
||||
laplacian(muEff,U) Gauss linear corrected;
|
||||
laplacian((rho*(1|A(U))),p_rgh) Gauss linear corrected;
|
||||
laplacian(alphaEff,h) Gauss linear corrected;
|
||||
laplacian(DkEff,k) Gauss linear corrected;
|
||||
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
|
||||
laplacian(DREff,R) Gauss linear corrected;
|
||||
laplacian(gammaRad,G) Gauss linear corrected;
|
||||
laplacian(muEff,U) Gauss linear uncorrected;
|
||||
laplacian((rho*(1|A(U))),p_rgh) Gauss linear uncorrected;
|
||||
laplacian(alphaEff,h) Gauss linear uncorrected;
|
||||
laplacian(DkEff,k) Gauss linear uncorrected;
|
||||
laplacian(DepsilonEff,epsilon) Gauss linear uncorrected;
|
||||
laplacian(DREff,R) Gauss linear uncorrected;
|
||||
laplacian(gammaRad,G) Gauss linear uncorrected;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
@ -57,7 +57,7 @@ interpolationSchemes
|
||||
|
||||
snGradSchemes
|
||||
{
|
||||
default corrected;
|
||||
default uncorrected;
|
||||
}
|
||||
|
||||
fluxRequired
|
||||
|
||||
@ -66,17 +66,14 @@ SIMPLE
|
||||
|
||||
relaxationFactors
|
||||
{
|
||||
rho 1;
|
||||
p_rgh 0.7;
|
||||
U 0.3;
|
||||
h 0.7;
|
||||
nuTilda 0.7;
|
||||
k 0.7;
|
||||
epsilon 0.7;
|
||||
omega 0.7;
|
||||
G 0.7;
|
||||
"ILambda.*" 0.7;
|
||||
Qr 0.7;
|
||||
rho 1.0;
|
||||
p_rgh 0.7;
|
||||
U 0.3;
|
||||
h 0.7;
|
||||
"(k|epsilon|omega)" 0.7;
|
||||
G 0.7;
|
||||
"ILambda.*" 0.7;
|
||||
Qr 0.7;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -19,13 +19,8 @@ FoamFile
|
||||
|
||||
numberOfSubdomains 4;
|
||||
|
||||
//- Keep owner and neighbour on same processor for faces in zones:
|
||||
// preserveFaceZones (heater solid1 solid3);
|
||||
|
||||
method scotch;
|
||||
// method hierarchical;
|
||||
// method simple;
|
||||
// method manual;
|
||||
|
||||
simpleCoeffs
|
||||
{
|
||||
@ -40,18 +35,6 @@ hierarchicalCoeffs
|
||||
order xyz;
|
||||
}
|
||||
|
||||
scotchCoeffs
|
||||
{
|
||||
//processorWeights
|
||||
//(
|
||||
// 1
|
||||
// 1
|
||||
// 1
|
||||
// 1
|
||||
//);
|
||||
//writeGraph true;
|
||||
//strategy "b";
|
||||
}
|
||||
|
||||
manualCoeffs
|
||||
{
|
||||
@ -59,14 +42,5 @@ manualCoeffs
|
||||
}
|
||||
|
||||
|
||||
//// Is the case distributed
|
||||
//distributed yes;
|
||||
//// Per slave (so nProcs-1 entries) the directory above the case.
|
||||
//roots
|
||||
//(
|
||||
// "/tmp"
|
||||
// "/tmp"
|
||||
//);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -16,7 +16,7 @@ FoamFile
|
||||
|
||||
ddtSchemes
|
||||
{
|
||||
default steadyState;
|
||||
default steadyState;
|
||||
}
|
||||
|
||||
gradSchemes
|
||||
@ -32,7 +32,7 @@ divSchemes
|
||||
laplacianSchemes
|
||||
{
|
||||
default none;
|
||||
laplacian(K,T) Gauss linear limited 0.333;
|
||||
laplacian(K,T) Gauss linear uncorrected;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
@ -42,7 +42,7 @@ interpolationSchemes
|
||||
|
||||
snGradSchemes
|
||||
{
|
||||
default limited 0.333;
|
||||
default uncorrected;
|
||||
}
|
||||
|
||||
fluxRequired
|
||||
|
||||
@ -19,13 +19,8 @@ FoamFile
|
||||
|
||||
numberOfSubdomains 4;
|
||||
|
||||
//- Keep owner and neighbour on same processor for faces in zones:
|
||||
// preserveFaceZones (heater solid1 solid3);
|
||||
|
||||
method scotch;
|
||||
// method hierarchical;
|
||||
// method simple;
|
||||
// method manual;
|
||||
|
||||
simpleCoeffs
|
||||
{
|
||||
@ -40,18 +35,6 @@ hierarchicalCoeffs
|
||||
order xyz;
|
||||
}
|
||||
|
||||
scotchCoeffs
|
||||
{
|
||||
//processorWeights
|
||||
//(
|
||||
// 1
|
||||
// 1
|
||||
// 1
|
||||
// 1
|
||||
//);
|
||||
//writeGraph true;
|
||||
//strategy "b";
|
||||
}
|
||||
|
||||
manualCoeffs
|
||||
{
|
||||
@ -59,14 +42,4 @@ manualCoeffs
|
||||
}
|
||||
|
||||
|
||||
//// Is the case distributed
|
||||
//distributed yes;
|
||||
//// Per slave (so nProcs-1 entries) the directory above the case.
|
||||
//roots
|
||||
//(
|
||||
// "/tmp"
|
||||
// "/tmp"
|
||||
//);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -19,13 +19,8 @@ FoamFile
|
||||
|
||||
numberOfSubdomains 4;
|
||||
|
||||
//- Keep owner and neighbour on same processor for faces in zones:
|
||||
// preserveFaceZones (heater solid1 solid3);
|
||||
|
||||
method scotch;
|
||||
// method hierarchical;
|
||||
// method simple;
|
||||
// method manual;
|
||||
|
||||
simpleCoeffs
|
||||
{
|
||||
@ -40,18 +35,6 @@ hierarchicalCoeffs
|
||||
order xyz;
|
||||
}
|
||||
|
||||
scotchCoeffs
|
||||
{
|
||||
//processorWeights
|
||||
//(
|
||||
// 1
|
||||
// 1
|
||||
// 1
|
||||
// 1
|
||||
//);
|
||||
//writeGraph true;
|
||||
//strategy "b";
|
||||
}
|
||||
|
||||
manualCoeffs
|
||||
{
|
||||
@ -59,14 +42,4 @@ manualCoeffs
|
||||
}
|
||||
|
||||
|
||||
//// Is the case distributed
|
||||
//distributed yes;
|
||||
//// Per slave (so nProcs-1 entries) the directory above the case.
|
||||
//roots
|
||||
//(
|
||||
// "/tmp"
|
||||
// "/tmp"
|
||||
//);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -32,7 +32,7 @@ divSchemes
|
||||
laplacianSchemes
|
||||
{
|
||||
default none;
|
||||
laplacian(K,T) Gauss linear limited 0.333;
|
||||
laplacian(K,T) Gauss linear uncorrected;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
@ -42,7 +42,7 @@ interpolationSchemes
|
||||
|
||||
snGradSchemes
|
||||
{
|
||||
default limited 0.333;
|
||||
default uncorrected;
|
||||
}
|
||||
|
||||
fluxRequired
|
||||
|
||||
@ -19,13 +19,7 @@ FoamFile
|
||||
|
||||
numberOfSubdomains 4;
|
||||
|
||||
//- Keep owner and neighbour on same processor for faces in zones:
|
||||
// preserveFaceZones (heater solid1 solid3);
|
||||
|
||||
method scotch;
|
||||
// method hierarchical;
|
||||
// method simple;
|
||||
// method manual;
|
||||
|
||||
simpleCoeffs
|
||||
{
|
||||
@ -40,18 +34,6 @@ hierarchicalCoeffs
|
||||
order xyz;
|
||||
}
|
||||
|
||||
scotchCoeffs
|
||||
{
|
||||
//processorWeights
|
||||
//(
|
||||
// 1
|
||||
// 1
|
||||
// 1
|
||||
// 1
|
||||
//);
|
||||
//writeGraph true;
|
||||
//strategy "b";
|
||||
}
|
||||
|
||||
manualCoeffs
|
||||
{
|
||||
@ -59,14 +41,4 @@ manualCoeffs
|
||||
}
|
||||
|
||||
|
||||
//// Is the case distributed
|
||||
//distributed yes;
|
||||
//// Per slave (so nProcs-1 entries) the directory above the case.
|
||||
//roots
|
||||
//(
|
||||
// "/tmp"
|
||||
// "/tmp"
|
||||
//);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -16,7 +16,7 @@ FoamFile
|
||||
|
||||
ddtSchemes
|
||||
{
|
||||
default steadyState;
|
||||
default steadyState;
|
||||
}
|
||||
|
||||
gradSchemes
|
||||
@ -41,13 +41,13 @@ divSchemes
|
||||
laplacianSchemes
|
||||
{
|
||||
default none;
|
||||
laplacian(muEff,U) Gauss linear corrected;
|
||||
laplacian((rho*(1|A(U))),p_rgh) Gauss linear corrected;
|
||||
laplacian(alphaEff,h) Gauss linear corrected;
|
||||
laplacian(DkEff,k) Gauss linear corrected;
|
||||
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
|
||||
laplacian(DREff,R) Gauss linear corrected;
|
||||
laplacian(gammaRad,G) Gauss linear corrected;
|
||||
laplacian(muEff,U) Gauss linear uncorrected;
|
||||
laplacian((rho*(1|A(U))),p_rgh) Gauss linear uncorrected;
|
||||
laplacian(alphaEff,h) Gauss linear uncorrected;
|
||||
laplacian(DkEff,k) Gauss linear uncorrected;
|
||||
laplacian(DepsilonEff,epsilon) Gauss linear uncorrected;
|
||||
laplacian(DREff,R) Gauss linear uncorrected;
|
||||
laplacian(gammaRad,G) Gauss linear uncorrected;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
@ -57,7 +57,7 @@ interpolationSchemes
|
||||
|
||||
snGradSchemes
|
||||
{
|
||||
default corrected;
|
||||
default uncorrected;
|
||||
}
|
||||
|
||||
fluxRequired
|
||||
|
||||
@ -68,16 +68,13 @@ SIMPLE
|
||||
|
||||
relaxationFactors
|
||||
{
|
||||
rho 1;
|
||||
p_rgh 0.7;
|
||||
U 0.3;
|
||||
h 0.7;
|
||||
nuTilda 0.7;
|
||||
k 0.7;
|
||||
epsilon 0.7;
|
||||
omega 0.7;
|
||||
"ILambda.*" 0.7;
|
||||
Qr 0.7;
|
||||
rho 1.0;
|
||||
p_rgh 0.7;
|
||||
U 0.3;
|
||||
h 0.7;
|
||||
"(k|epsilon|omega)" 0.7;
|
||||
"ILambda.*" 0.7;
|
||||
Qr 0.7;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -23,7 +23,7 @@ cp -r 0.org 0
|
||||
runApplication mapFields ../wingMotion2D_simpleFoam -sourceTime latestTime -consistent
|
||||
mv 0/pointDisplacement.unmapped 0/pointDisplacement
|
||||
runApplication decomposePar
|
||||
runParallel `getApplication` 3
|
||||
runParallel `getApplication` 4
|
||||
runApplication reconstructPar
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
|
||||
@ -35,7 +35,7 @@ boundaryField
|
||||
);
|
||||
velocity (0 0 0);
|
||||
acceleration (0 0 0);
|
||||
angularMomentum (0 0 -0.5);
|
||||
angularMomentum (0 0 -2.0);
|
||||
torque (0 0 0);
|
||||
rhoName rhoInf;
|
||||
rhoInf 1;
|
||||
|
||||
@ -20,38 +20,38 @@ FoamFile
|
||||
topAndBottom
|
||||
{
|
||||
type patch;
|
||||
nFaces 150;
|
||||
startFace 76473;
|
||||
nFaces 72;
|
||||
startFace 25168;
|
||||
}
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
nFaces 48;
|
||||
startFace 76623;
|
||||
nFaces 40;
|
||||
startFace 25240;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
nFaces 48;
|
||||
startFace 76671;
|
||||
nFaces 62;
|
||||
startFace 25280;
|
||||
}
|
||||
front
|
||||
{
|
||||
type empty;
|
||||
nFaces 38129;
|
||||
startFace 76719;
|
||||
nFaces 12559;
|
||||
startFace 25342;
|
||||
}
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
nFaces 38129;
|
||||
startFace 114848;
|
||||
nFaces 12559;
|
||||
startFace 37901;
|
||||
}
|
||||
wing
|
||||
{
|
||||
type wall;
|
||||
nFaces 778;
|
||||
startFace 152977;
|
||||
nFaces 378;
|
||||
startFace 50460;
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@ -23,7 +23,7 @@ startTime 0;
|
||||
|
||||
stopAt endTime;
|
||||
|
||||
endTime 1;
|
||||
endTime 0.6;
|
||||
|
||||
deltaT 1e-5;
|
||||
|
||||
|
||||
@ -15,27 +15,22 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
numberOfSubdomains 3;
|
||||
numberOfSubdomains 4;
|
||||
|
||||
method simple;
|
||||
|
||||
simpleCoeffs
|
||||
{
|
||||
n ( 1 3 1 );
|
||||
n ( 2 2 1 );
|
||||
delta 0.001;
|
||||
}
|
||||
|
||||
hierarchicalCoeffs
|
||||
{
|
||||
n ( 3 2 1 );
|
||||
n ( 2 2 1 );
|
||||
delta 0.001;
|
||||
order xyz;
|
||||
}
|
||||
|
||||
manualCoeffs
|
||||
{
|
||||
dataFile "cellDecomposition";
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -20,38 +20,38 @@ FoamFile
|
||||
topAndBottom
|
||||
{
|
||||
type patch;
|
||||
nFaces 150;
|
||||
startFace 76473;
|
||||
nFaces 72;
|
||||
startFace 25168;
|
||||
}
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
nFaces 48;
|
||||
startFace 76623;
|
||||
nFaces 40;
|
||||
startFace 25240;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
nFaces 48;
|
||||
startFace 76671;
|
||||
nFaces 62;
|
||||
startFace 25280;
|
||||
}
|
||||
front
|
||||
{
|
||||
type empty;
|
||||
nFaces 38129;
|
||||
startFace 76719;
|
||||
nFaces 12559;
|
||||
startFace 25342;
|
||||
}
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
nFaces 38129;
|
||||
startFace 114848;
|
||||
nFaces 12559;
|
||||
startFace 37901;
|
||||
}
|
||||
wing
|
||||
{
|
||||
type wall;
|
||||
nFaces 778;
|
||||
startFace 152977;
|
||||
nFaces 378;
|
||||
startFace 50460;
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@ -15,15 +15,35 @@ FoamFile
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
// Tolerance used in matching faces. Absolute tolerance is span of
|
||||
// face times this factor. To load incorrectly matches meshes set this
|
||||
// to a higher value.
|
||||
matchTolerance 1e-3;
|
||||
// This application/dictionary controls:
|
||||
// - optional: create new patches from boundary faces (either given as
|
||||
// a set of patches or as a faceSet)
|
||||
// - always: order faces on coupled patches such that they are opposite. This
|
||||
// is done for all coupled faces, not just for any patches created.
|
||||
// - optional: synchronise points on coupled patches.
|
||||
|
||||
// 1. Create cyclic:
|
||||
// - specify where the faces should come from
|
||||
// - specify the type of cyclic. If a rotational specify the rotationAxis
|
||||
// and centre to make matching easier
|
||||
// - always create both halves in one invocation with correct 'neighbourPatch'
|
||||
// setting.
|
||||
// - optionally pointSync true to guarantee points to line up.
|
||||
|
||||
// 2. Correct incorrect cyclic:
|
||||
// This will usually fail upon loading:
|
||||
// "face 0 area does not match neighbour 2 by 0.0100005%"
|
||||
// " -- possible face ordering problem."
|
||||
// - in polyMesh/boundary file:
|
||||
// - loosen matchTolerance of all cyclics to get case to load
|
||||
// - or change patch type from 'cyclic' to 'patch'
|
||||
// and regenerate cyclic as above
|
||||
|
||||
|
||||
// Do a synchronisation of coupled points after creation of any patches.
|
||||
// Note: this does not work with points that are on multiple coupled patches
|
||||
// with transformations.
|
||||
pointSync true;
|
||||
// with transformations (i.e. cyclics).
|
||||
pointSync false;
|
||||
|
||||
// Patches to create.
|
||||
patches
|
||||
|
||||
@ -19,19 +19,19 @@ convertToMeters 1;
|
||||
|
||||
vertices
|
||||
(
|
||||
(-2.5 -4.8 -0.1)
|
||||
( 10 -4.8 -0.1)
|
||||
( 10 4.8 -0.1)
|
||||
(-2.5 4.8 -0.1)
|
||||
(-2.5 -4.8 0.1)
|
||||
( 10 -4.8 0.1)
|
||||
( 10 4.8 0.1)
|
||||
(-2.5 4.8 0.1)
|
||||
(-1.2 -2.2 -0.1)
|
||||
( 5 -2.2 -0.1)
|
||||
( 5 2.2 -0.1)
|
||||
(-1.2 2.2 -0.1)
|
||||
(-1.2 -2.2 0.1)
|
||||
( 5 -2.2 0.1)
|
||||
( 5 2.2 0.1)
|
||||
(-1.2 2.2 0.1)
|
||||
);
|
||||
|
||||
blocks
|
||||
(
|
||||
hex (0 1 2 3 4 5 6 7) (75 48 1) simpleGrading (1 1 1)
|
||||
hex (0 1 2 3 4 5 6 7) (36 24 1) simpleGrading (1 1 1)
|
||||
);
|
||||
|
||||
edges
|
||||
|
||||
@ -20,38 +20,38 @@ FoamFile
|
||||
topAndBottom
|
||||
{
|
||||
type patch;
|
||||
nFaces 150;
|
||||
startFace 2098769;
|
||||
nFaces 72;
|
||||
startFace 495985;
|
||||
}
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
nFaces 48;
|
||||
startFace 2098919;
|
||||
nFaces 72;
|
||||
startFace 496057;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
nFaces 48;
|
||||
startFace 2098967;
|
||||
nFaces 204;
|
||||
startFace 496129;
|
||||
}
|
||||
front
|
||||
{
|
||||
type empty;
|
||||
nFaces 38129;
|
||||
startFace 2099015;
|
||||
nFaces 12559;
|
||||
startFace 496333;
|
||||
}
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
nFaces 38120;
|
||||
startFace 2137144;
|
||||
nFaces 12559;
|
||||
startFace 508892;
|
||||
}
|
||||
wing_5degrees.obj_WALL10
|
||||
{
|
||||
type wall;
|
||||
nFaces 49792;
|
||||
startFace 2175264;
|
||||
nFaces 12096;
|
||||
startFace 521451;
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@ -62,10 +62,10 @@ castellatedMeshControls
|
||||
// actually be a lot less.
|
||||
maxGlobalCells 2000000;
|
||||
|
||||
// The surface refinement loop might spend lots of iterations refining just a
|
||||
// few cells. This setting will cause refinement to stop if <= minimumRefine
|
||||
// are selected for refinement. Note: it will at least do one iteration
|
||||
// (unless the number of cells to refine is 0)
|
||||
// The surface refinement loop might spend lots of iterations refining just
|
||||
// a few cells. This setting will cause refinement to stop if <=
|
||||
// minimumRefine are selected for refinement. Note: it will at least do one
|
||||
// iteration (unless the number of cells to refine is 0)
|
||||
minRefinementCells 100;
|
||||
|
||||
// Number of buffer layers between different levels.
|
||||
@ -98,7 +98,7 @@ castellatedMeshControls
|
||||
wing_5degrees.obj
|
||||
{
|
||||
// Surface-wise min and max refinement level
|
||||
level (6 6);
|
||||
level (5 5);
|
||||
}
|
||||
}
|
||||
|
||||
@ -124,7 +124,7 @@ castellatedMeshControls
|
||||
refinementBox
|
||||
{
|
||||
mode inside;
|
||||
levels ((1e15 3));
|
||||
levels ((1e15 2));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
|
||||
|
||||
0
tutorials/lagrangian/LTSReactingParcelFoam/counterFlowFlame2D/system/fvSolution
Executable file → Normal file
0
tutorials/lagrangian/LTSReactingParcelFoam/counterFlowFlame2D/system/fvSolution
Executable file → Normal file
@ -17,7 +17,7 @@ FoamFile
|
||||
|
||||
dimensions [0 1 -1 0 0 0 0];
|
||||
|
||||
internalField uniform (0 0 0);
|
||||
internalField uniform (0 0 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
|
||||
@ -17,7 +17,7 @@ FoamFile
|
||||
|
||||
dimensions [0 1 -1 0 0 0 0];
|
||||
|
||||
internalField uniform (0 0 0);
|
||||
internalField uniform (0 0 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
|
||||
@ -17,7 +17,7 @@ FoamFile
|
||||
|
||||
dimensions [0 1 -1 0 0 0 0];
|
||||
|
||||
internalField uniform (0 0 0);
|
||||
internalField uniform (0 0 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
|
||||
@ -17,7 +17,7 @@ FoamFile
|
||||
|
||||
dimensions [0 1 -1 0 0 0 0];
|
||||
|
||||
internalField uniform (0 0 0);
|
||||
internalField uniform (0 0 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
|
||||
@ -11,4 +11,3 @@ cp -rf 0.org 0
|
||||
rm -f *.obj
|
||||
|
||||
#rm -rf VTK
|
||||
|
||||
|
||||
@ -8,4 +8,3 @@ cd ${0%/*} || exit 1 # run from this directory
|
||||
application=`getApplication`
|
||||
|
||||
runApplication $application
|
||||
|
||||
|
||||
@ -7,4 +7,3 @@ runApplication setSet -batch wallFilmRegion.setSet
|
||||
mv log.setSet log.wallFilmRegion.setSet
|
||||
|
||||
runApplication extrudeToRegionMesh -overwrite
|
||||
|
||||
|
||||
@ -8,4 +8,3 @@ species
|
||||
|
||||
reactions
|
||||
{}
|
||||
|
||||
|
||||
@ -31,7 +31,7 @@ FoamFile
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion wallFilmRegion;
|
||||
samplePatch region0_to_wallFilmRegion_wallFilmFaces;
|
||||
offsets
|
||||
offsets
|
||||
200
|
||||
(
|
||||
(-4.33680869e-19 -4.33680869e-19 -0)
|
||||
|
||||
@ -20,7 +20,7 @@ FoamFile
|
||||
wallFilmFaces
|
||||
{
|
||||
type faceZone;
|
||||
faceLabels List<label>
|
||||
faceLabels List<label>
|
||||
200
|
||||
(
|
||||
12600
|
||||
|
||||
@ -18,206 +18,206 @@ FoamFile
|
||||
|
||||
200
|
||||
(
|
||||
12600
|
||||
12601
|
||||
12602
|
||||
12603
|
||||
12604
|
||||
12605
|
||||
12606
|
||||
12607
|
||||
12608
|
||||
12609
|
||||
12610
|
||||
12611
|
||||
12612
|
||||
12613
|
||||
12614
|
||||
12615
|
||||
12616
|
||||
12617
|
||||
12618
|
||||
12619
|
||||
12620
|
||||
12621
|
||||
12622
|
||||
12623
|
||||
12624
|
||||
12625
|
||||
12626
|
||||
12627
|
||||
12628
|
||||
12629
|
||||
12630
|
||||
12631
|
||||
12632
|
||||
12633
|
||||
12634
|
||||
12635
|
||||
12636
|
||||
12637
|
||||
12638
|
||||
12639
|
||||
12640
|
||||
12641
|
||||
12642
|
||||
12643
|
||||
12644
|
||||
12645
|
||||
12646
|
||||
12647
|
||||
12648
|
||||
12649
|
||||
12650
|
||||
12651
|
||||
12652
|
||||
12653
|
||||
12654
|
||||
12655
|
||||
12656
|
||||
12657
|
||||
12658
|
||||
12659
|
||||
12660
|
||||
12661
|
||||
12662
|
||||
12663
|
||||
12664
|
||||
12665
|
||||
12666
|
||||
12667
|
||||
12668
|
||||
12669
|
||||
12670
|
||||
12671
|
||||
12672
|
||||
12673
|
||||
12674
|
||||
12675
|
||||
12676
|
||||
12677
|
||||
12678
|
||||
12679
|
||||
12680
|
||||
12681
|
||||
12682
|
||||
12683
|
||||
12684
|
||||
12685
|
||||
12686
|
||||
12687
|
||||
12688
|
||||
12689
|
||||
12690
|
||||
12691
|
||||
12692
|
||||
12693
|
||||
12694
|
||||
12695
|
||||
12696
|
||||
12697
|
||||
12698
|
||||
12699
|
||||
12700
|
||||
12701
|
||||
12702
|
||||
12703
|
||||
12704
|
||||
12705
|
||||
12706
|
||||
12707
|
||||
12708
|
||||
12709
|
||||
12710
|
||||
12711
|
||||
12712
|
||||
12713
|
||||
12714
|
||||
12715
|
||||
12716
|
||||
12717
|
||||
12718
|
||||
12719
|
||||
12720
|
||||
12721
|
||||
12722
|
||||
12723
|
||||
12724
|
||||
12725
|
||||
12726
|
||||
12727
|
||||
12728
|
||||
12729
|
||||
12730
|
||||
12731
|
||||
12732
|
||||
12733
|
||||
12734
|
||||
12735
|
||||
12736
|
||||
12737
|
||||
12738
|
||||
12739
|
||||
12740
|
||||
12741
|
||||
12742
|
||||
12743
|
||||
12744
|
||||
12745
|
||||
12746
|
||||
12747
|
||||
12748
|
||||
12749
|
||||
12750
|
||||
12751
|
||||
12752
|
||||
12753
|
||||
12754
|
||||
12755
|
||||
12756
|
||||
12757
|
||||
12758
|
||||
12759
|
||||
12760
|
||||
12761
|
||||
12762
|
||||
12763
|
||||
12764
|
||||
12765
|
||||
12766
|
||||
12767
|
||||
12768
|
||||
12769
|
||||
12770
|
||||
12771
|
||||
12772
|
||||
12773
|
||||
12774
|
||||
12775
|
||||
12776
|
||||
12777
|
||||
12778
|
||||
12779
|
||||
12780
|
||||
12781
|
||||
12782
|
||||
12783
|
||||
12784
|
||||
12785
|
||||
12786
|
||||
12787
|
||||
12788
|
||||
12789
|
||||
12790
|
||||
12791
|
||||
12792
|
||||
12793
|
||||
12794
|
||||
12795
|
||||
12796
|
||||
12797
|
||||
12798
|
||||
12799
|
||||
12600
|
||||
12601
|
||||
12602
|
||||
12603
|
||||
12604
|
||||
12605
|
||||
12606
|
||||
12607
|
||||
12608
|
||||
12609
|
||||
12610
|
||||
12611
|
||||
12612
|
||||
12613
|
||||
12614
|
||||
12615
|
||||
12616
|
||||
12617
|
||||
12618
|
||||
12619
|
||||
12620
|
||||
12621
|
||||
12622
|
||||
12623
|
||||
12624
|
||||
12625
|
||||
12626
|
||||
12627
|
||||
12628
|
||||
12629
|
||||
12630
|
||||
12631
|
||||
12632
|
||||
12633
|
||||
12634
|
||||
12635
|
||||
12636
|
||||
12637
|
||||
12638
|
||||
12639
|
||||
12640
|
||||
12641
|
||||
12642
|
||||
12643
|
||||
12644
|
||||
12645
|
||||
12646
|
||||
12647
|
||||
12648
|
||||
12649
|
||||
12650
|
||||
12651
|
||||
12652
|
||||
12653
|
||||
12654
|
||||
12655
|
||||
12656
|
||||
12657
|
||||
12658
|
||||
12659
|
||||
12660
|
||||
12661
|
||||
12662
|
||||
12663
|
||||
12664
|
||||
12665
|
||||
12666
|
||||
12667
|
||||
12668
|
||||
12669
|
||||
12670
|
||||
12671
|
||||
12672
|
||||
12673
|
||||
12674
|
||||
12675
|
||||
12676
|
||||
12677
|
||||
12678
|
||||
12679
|
||||
12680
|
||||
12681
|
||||
12682
|
||||
12683
|
||||
12684
|
||||
12685
|
||||
12686
|
||||
12687
|
||||
12688
|
||||
12689
|
||||
12690
|
||||
12691
|
||||
12692
|
||||
12693
|
||||
12694
|
||||
12695
|
||||
12696
|
||||
12697
|
||||
12698
|
||||
12699
|
||||
12700
|
||||
12701
|
||||
12702
|
||||
12703
|
||||
12704
|
||||
12705
|
||||
12706
|
||||
12707
|
||||
12708
|
||||
12709
|
||||
12710
|
||||
12711
|
||||
12712
|
||||
12713
|
||||
12714
|
||||
12715
|
||||
12716
|
||||
12717
|
||||
12718
|
||||
12719
|
||||
12720
|
||||
12721
|
||||
12722
|
||||
12723
|
||||
12724
|
||||
12725
|
||||
12726
|
||||
12727
|
||||
12728
|
||||
12729
|
||||
12730
|
||||
12731
|
||||
12732
|
||||
12733
|
||||
12734
|
||||
12735
|
||||
12736
|
||||
12737
|
||||
12738
|
||||
12739
|
||||
12740
|
||||
12741
|
||||
12742
|
||||
12743
|
||||
12744
|
||||
12745
|
||||
12746
|
||||
12747
|
||||
12748
|
||||
12749
|
||||
12750
|
||||
12751
|
||||
12752
|
||||
12753
|
||||
12754
|
||||
12755
|
||||
12756
|
||||
12757
|
||||
12758
|
||||
12759
|
||||
12760
|
||||
12761
|
||||
12762
|
||||
12763
|
||||
12764
|
||||
12765
|
||||
12766
|
||||
12767
|
||||
12768
|
||||
12769
|
||||
12770
|
||||
12771
|
||||
12772
|
||||
12773
|
||||
12774
|
||||
12775
|
||||
12776
|
||||
12777
|
||||
12778
|
||||
12779
|
||||
12780
|
||||
12781
|
||||
12782
|
||||
12783
|
||||
12784
|
||||
12785
|
||||
12786
|
||||
12787
|
||||
12788
|
||||
12789
|
||||
12790
|
||||
12791
|
||||
12792
|
||||
12793
|
||||
12794
|
||||
12795
|
||||
12796
|
||||
12797
|
||||
12798
|
||||
12799
|
||||
)
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -38,7 +38,7 @@ FoamFile
|
||||
sampleRegion wallFilmRegion;
|
||||
samplePatch region0_to_wallFilmRegion_wallFilmFaces;
|
||||
offsetMode nonuniform;
|
||||
offsets
|
||||
offsets
|
||||
1100
|
||||
(
|
||||
(-1.110223025e-16 -0 -0)
|
||||
|
||||
@ -12,14 +12,37 @@ FoamFile
|
||||
class dictionary;
|
||||
object createPatchDict;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
// Tolerance used in matching faces. Absolute tolerance is span of
|
||||
// face times this factor. To load incorrectly matches meshes set this
|
||||
// to a higher value.
|
||||
matchTolerance 1E-3;
|
||||
// This application/dictionary controls:
|
||||
// - optional: create new patches from boundary faces (either given as
|
||||
// a set of patches or as a faceSet)
|
||||
// - always: order faces on coupled patches such that they are opposite. This
|
||||
// is done for all coupled faces, not just for any patches created.
|
||||
// - optional: synchronise points on coupled patches.
|
||||
|
||||
// 1. Create cyclic:
|
||||
// - specify where the faces should come from
|
||||
// - specify the type of cyclic. If a rotational specify the rotationAxis
|
||||
// and centre to make matching easier
|
||||
// - always create both halves in one invocation with correct 'neighbourPatch'
|
||||
// setting.
|
||||
// - optionally pointSync true to guarantee points to line up.
|
||||
|
||||
// 2. Correct incorrect cyclic:
|
||||
// This will usually fail upon loading:
|
||||
// "face 0 area does not match neighbour 2 by 0.0100005%"
|
||||
// " -- possible face ordering problem."
|
||||
// - in polyMesh/boundary file:
|
||||
// - loosen matchTolerance of all cyclics to get case to load
|
||||
// - or change patch type from 'cyclic' to 'patch'
|
||||
// and regenerate cyclic as above
|
||||
|
||||
|
||||
// Do a synchronisation of coupled points after creation of any patches.
|
||||
// Note: this does not work with points that are on multiple coupled patches
|
||||
// with transformations (i.e. cyclics).
|
||||
pointSync false;
|
||||
|
||||
// Patches to create.
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
# Create face set
|
||||
faceSet wallFilmFaces new patchToFace filmWalls
|
||||
faceZoneSet wallFilmFaces new setToFaceZone wallFilmFaces
|
||||
|
||||
|
||||
@ -30,4 +30,3 @@ cp -r system/wallFilmRegion.org system/wallFilmRegion
|
||||
|
||||
find ./0 -maxdepth 1 -type f -exec \
|
||||
sed -i "s/wallFilm/\"(region0_to.*)\"/g" {} \;
|
||||
|
||||
|
||||
@ -70,7 +70,7 @@ thermoSingleLayerCoeffs
|
||||
{
|
||||
cloudName reactingCloud1;
|
||||
deltaStable 0;
|
||||
|
||||
|
||||
particlesPerParcel 100.0;
|
||||
|
||||
parcelDistribution
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
#!/bin/bash
|
||||
#--------------------------------*- C++ -*----------------------------------
|
||||
# ========= |
|
||||
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
# \\ / O peration | Version: dev
|
||||
# \\ / A nd | Web: www.OpenFOAM.com
|
||||
# \\/ M anipulation |
|
||||
#---------------------------------------------------------------------------
|
||||
#--------------------------------*- C++ -*----------------------------------#
|
||||
# ========= | #
|
||||
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox #
|
||||
# \\ / O peration | Version: dev #
|
||||
# \\ / A nd | Web: www.OpenFOAM.com #
|
||||
# \\/ M anipulation | #
|
||||
#---------------------------------------------------------------------------#
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
x0=0.4
|
||||
|
||||
@ -17,7 +17,7 @@ FoamFile
|
||||
|
||||
dimensions [0 1 -1 0 0 0 0];
|
||||
|
||||
internalField uniform (0 0 0);
|
||||
internalField uniform (0 0 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
|
||||
@ -17,7 +17,7 @@ FoamFile
|
||||
|
||||
dimensions [0 1 -1 0 0 0 0];
|
||||
|
||||
internalField uniform (0 0 0);
|
||||
internalField uniform (0 0 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
|
||||
@ -11,4 +11,3 @@ cp -rf 0.org 0
|
||||
rm -f *.obj
|
||||
|
||||
#rm -rf VTK
|
||||
|
||||
|
||||
@ -8,4 +8,3 @@ cd ${0%/*} || exit 1 # run from this directory
|
||||
application=`getApplication`
|
||||
|
||||
runApplication $application
|
||||
|
||||
|
||||
@ -12,4 +12,3 @@ runApplication setSet -region wallFilmRegion -batch createWallFilmRegionPatches.
|
||||
mv log.setSet log.createWallFilmRegionPatches.setSet
|
||||
|
||||
runApplication createPatch -region wallFilmRegion -overwrite
|
||||
|
||||
|
||||
@ -8,4 +8,3 @@ species
|
||||
|
||||
reactions
|
||||
{}
|
||||
|
||||
|
||||
@ -32,7 +32,7 @@ FoamFile
|
||||
sampleRegion wallFilmRegion;
|
||||
samplePatch region0_to_wallFilmRegion_wallFilmFaces;
|
||||
offsetMode nonuniform;
|
||||
offsets
|
||||
offsets
|
||||
200
|
||||
(
|
||||
(4.33680869e-19 4.33680869e-19 -0)
|
||||
|
||||
@ -3,4 +3,3 @@ faceSet sideFaces1 new boxToFace (-0.00001 -0.00001 -1) (0.10001 0.00001 1)
|
||||
faceSet sideFaces2 new boxToFace ( 0.09999 -0.00001 -1) (0.10001 0.05001 1)
|
||||
faceSet sideFaces3 new boxToFace (-0.00001 0.04999 -1) (1.00001 0.05001 1)
|
||||
faceSet sideFaces4 new boxToFace (-0.00001 -0.00001 -1) (0.00001 0.05001 1)
|
||||
|
||||
|
||||
@ -12,14 +12,37 @@ FoamFile
|
||||
class dictionary;
|
||||
object createPatchDict;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
// Tolerance used in matching faces. Absolute tolerance is span of
|
||||
// face times this factor. To load incorrectly matches meshes set this
|
||||
// to a higher value.
|
||||
matchTolerance 1E-3;
|
||||
// This application/dictionary controls:
|
||||
// - optional: create new patches from boundary faces (either given as
|
||||
// a set of patches or as a faceSet)
|
||||
// - always: order faces on coupled patches such that they are opposite. This
|
||||
// is done for all coupled faces, not just for any patches created.
|
||||
// - optional: synchronise points on coupled patches.
|
||||
|
||||
// 1. Create cyclic:
|
||||
// - specify where the faces should come from
|
||||
// - specify the type of cyclic. If a rotational specify the rotationAxis
|
||||
// and centre to make matching easier
|
||||
// - always create both halves in one invocation with correct 'neighbourPatch'
|
||||
// setting.
|
||||
// - optionally pointSync true to guarantee points to line up.
|
||||
|
||||
// 2. Correct incorrect cyclic:
|
||||
// This will usually fail upon loading:
|
||||
// "face 0 area does not match neighbour 2 by 0.0100005%"
|
||||
// " -- possible face ordering problem."
|
||||
// - in polyMesh/boundary file:
|
||||
// - loosen matchTolerance of all cyclics to get case to load
|
||||
// - or change patch type from 'cyclic' to 'patch'
|
||||
// and regenerate cyclic as above
|
||||
|
||||
|
||||
// Do a synchronisation of coupled points after creation of any patches.
|
||||
// Note: this does not work with points that are on multiple coupled patches
|
||||
// with transformations (i.e. cyclics).
|
||||
pointSync false;
|
||||
|
||||
// Patches to create.
|
||||
|
||||
@ -12,22 +12,45 @@ FoamFile
|
||||
class dictionary;
|
||||
object createPatchDict;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
// Tolerance used in matching faces. Absolute tolerance is span of
|
||||
// face times this factor. To load incorrectly matches meshes set this
|
||||
// to a higher value.
|
||||
matchTolerance 1E-3;
|
||||
// This application/dictionary controls:
|
||||
// - optional: create new patches from boundary faces (either given as
|
||||
// a set of patches or as a faceSet)
|
||||
// - always: order faces on coupled patches such that they are opposite. This
|
||||
// is done for all coupled faces, not just for any patches created.
|
||||
// - optional: synchronise points on coupled patches.
|
||||
|
||||
// 1. Create cyclic:
|
||||
// - specify where the faces should come from
|
||||
// - specify the type of cyclic. If a rotational specify the rotationAxis
|
||||
// and centre to make matching easier
|
||||
// - always create both halves in one invocation with correct 'neighbourPatch'
|
||||
// setting.
|
||||
// - optionally pointSync true to guarantee points to line up.
|
||||
|
||||
// 2. Correct incorrect cyclic:
|
||||
// This will usually fail upon loading:
|
||||
// "face 0 area does not match neighbour 2 by 0.0100005%"
|
||||
// " -- possible face ordering problem."
|
||||
// - in polyMesh/boundary file:
|
||||
// - loosen matchTolerance of all cyclics to get case to load
|
||||
// - or change patch type from 'cyclic' to 'patch'
|
||||
// and regenerate cyclic as above
|
||||
|
||||
|
||||
// Do a synchronisation of coupled points after creation of any patches.
|
||||
// Note: this does not work with points that are on multiple coupled patches
|
||||
// with transformations (i.e. cyclics).
|
||||
pointSync false;
|
||||
|
||||
// Patches to create.
|
||||
patches
|
||||
(
|
||||
{
|
||||
{
|
||||
// Name of new patch
|
||||
name side1;
|
||||
name side1;
|
||||
|
||||
// Type of new patch
|
||||
patchInfo
|
||||
|
||||
Reference in New Issue
Block a user