mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: flowRateInletVelocity: different keywords for volumetric and mass
This commit is contained in:
@ -83,4 +83,4 @@ solid ascii
|
||||
vertex 1.3 -0.9 1
|
||||
endloop
|
||||
endfacet
|
||||
endsolid
|
||||
end solid
|
||||
|
||||
@ -25,6 +25,7 @@ solver displacementSBRStress; //displacementLaplacian;
|
||||
|
||||
displacementSBRStressCoeffs
|
||||
{
|
||||
solveOnPoints0 true;
|
||||
// diffusivity uniform;
|
||||
// diffusivity directional (1 200 0);
|
||||
// diffusivity motionDirectional (1 1000 0);
|
||||
|
||||
@ -31,7 +31,8 @@ vertices
|
||||
|
||||
blocks
|
||||
(
|
||||
hex (0 1 2 3 4 5 6 7) (20 60 60) simpleGrading (10.0 1 1)
|
||||
// hex (0 1 2 3 4 5 6 7) (20 60 60) simpleGrading (10.0 1 1)
|
||||
hex (0 1 2 3 4 5 6 7) (6 6 6) simpleGrading (10.0 1 1)
|
||||
);
|
||||
|
||||
edges
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format binary;
|
||||
format ascii;
|
||||
class polyBoundaryMesh;
|
||||
location "constant/polyMesh";
|
||||
object boundary;
|
||||
@ -20,38 +20,38 @@ FoamFile
|
||||
maxX
|
||||
{
|
||||
type patch;
|
||||
nFaces 1200;
|
||||
startFace 210000;
|
||||
nFaces 36;
|
||||
startFace 540;
|
||||
}
|
||||
minZ
|
||||
{
|
||||
type patch;
|
||||
nFaces 3600;
|
||||
startFace 211200;
|
||||
nFaces 36;
|
||||
startFace 576;
|
||||
}
|
||||
maxZ
|
||||
{
|
||||
type patch;
|
||||
nFaces 3600;
|
||||
startFace 214800;
|
||||
nFaces 36;
|
||||
startFace 612;
|
||||
}
|
||||
minX
|
||||
{
|
||||
type patch;
|
||||
nFaces 1200;
|
||||
startFace 218400;
|
||||
nFaces 36;
|
||||
startFace 648;
|
||||
}
|
||||
minY
|
||||
{
|
||||
type patch;
|
||||
nFaces 1200;
|
||||
startFace 219600;
|
||||
nFaces 36;
|
||||
startFace 684;
|
||||
}
|
||||
maxY
|
||||
{
|
||||
type patch;
|
||||
nFaces 1200;
|
||||
startFace 220800;
|
||||
nFaces 36;
|
||||
startFace 720;
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@ -17,23 +17,23 @@ FoamFile
|
||||
|
||||
application moveDynamicMesh;
|
||||
|
||||
startFrom startTime;
|
||||
startFrom latestTime; //startTime;
|
||||
|
||||
startTime 0;
|
||||
|
||||
stopAt endTime;
|
||||
|
||||
endTime 25;
|
||||
endTime 30;
|
||||
|
||||
deltaT 1;
|
||||
|
||||
writeControl timeStep;
|
||||
|
||||
writeInterval 5;
|
||||
writeInterval 1;
|
||||
|
||||
purgeWrite 0;
|
||||
|
||||
writeFormat binary;
|
||||
writeFormat ascii;//binary;
|
||||
|
||||
writePrecision 6;
|
||||
|
||||
|
||||
@ -17,7 +17,7 @@ FoamFile
|
||||
|
||||
application icoFoam;
|
||||
|
||||
startFrom startTime;
|
||||
startFrom latestTime;
|
||||
|
||||
startTime 0;
|
||||
|
||||
|
||||
@ -16,7 +16,7 @@ FoamFile
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
// Which of the steps to run
|
||||
castellatedMesh true;
|
||||
castellatedMesh false;
|
||||
snap true;
|
||||
addLayers false;
|
||||
|
||||
@ -85,10 +85,10 @@ castellatedMeshControls
|
||||
// This is a featureEdgeMesh, read from constant/triSurface for now.
|
||||
features
|
||||
(
|
||||
{
|
||||
file "flange.eMesh";
|
||||
level 0;
|
||||
}
|
||||
// {
|
||||
// file "flange.eMesh";
|
||||
// level 0;
|
||||
// }
|
||||
);
|
||||
|
||||
|
||||
@ -175,9 +175,17 @@ snapControls
|
||||
// before upon reaching a correct mesh.
|
||||
nRelaxIter 5;
|
||||
|
||||
//- Highly experimental and wip: number of feature edge snapping
|
||||
// iterations. Leave out altogether to disable.
|
||||
nFeatureSnapIter 10;
|
||||
// Feature snapping
|
||||
|
||||
//- Number of feature edge snapping iterations.
|
||||
// Leave out altogether to disable.
|
||||
nFeatureSnapIter 10;
|
||||
|
||||
//- Detect (geometric) features by sampling the surface
|
||||
implicitFeatureSnap true;
|
||||
|
||||
//- Use castellatedMeshControls::features
|
||||
explicitFeatureSnap false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user