TUT: DNS, electromagnetics, financial, stressAnalysis: clean up tutorials

This commit is contained in:
Kutalmis Bercin
2021-03-25 14:59:07 +00:00
committed by Andrew Heather
parent 20af386290
commit 16762e6d49
59 changed files with 105 additions and 279 deletions

View File

@ -24,6 +24,7 @@ boundaryField
{
type symmetryPlane;
}
right
{
type tractionDisplacement;
@ -31,10 +32,12 @@ boundaryField
pressure uniform 0;
value uniform (0 0 0);
}
down
{
type symmetryPlane;
}
up
{
type tractionDisplacement;
@ -42,6 +45,7 @@ boundaryField
pressure uniform 0;
value uniform (0 0 0);
}
hole
{
type tractionDisplacement;
@ -49,10 +53,12 @@ boundaryField
pressure uniform 0;
value uniform (0 0 0);
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //

View File

@ -24,26 +24,32 @@ boundaryField
{
type symmetryPlane;
}
right
{
type zeroGradient;
}
down
{
type symmetryPlane;
}
up
{
type zeroGradient;
}
hole
{
type zeroGradient;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //

View File

@ -3,6 +3,6 @@ cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions
#------------------------------------------------------------------------------
cleanCase
cleanCase0
#------------------------------------------------------------------------------

View File

@ -3,9 +3,20 @@ cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
restore0Dir
runApplication blockMesh
runApplication $(getApplication)
runApplication -s sigma postProcess -func "components(sigma)"
runApplication -s singleGraph postProcess -func singleGraph
runApplication decomposePar
runParallel $(getApplication)
runApplication reconstructPar
runApplication -s sigma \
postProcess -func "components(sigma)" -noZero
runApplication -s singleGraph \
postProcess -func singleGraph -noZero
#------------------------------------------------------------------------------

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object mechanicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -129,8 +129,5 @@ boundary
}
);
mergePatchPairs
(
);
// ************************************************************************* //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -10,36 +10,18 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict.org;
object decomposeParDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
startFrom latestTime;
numberOfSubdomains 4;
startTime 0;
method hierarchical;
stopAt endTime;
endTime 10;
deltaT 2e-05;
writeControl runTime;
writeInterval 0.025;
purgeWrite 0;
writeFormat ascii;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable true;
coeffs
{
n (2 2 1);
}
// ************************************************************************* //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -55,4 +54,5 @@ snGradSchemes
default none;
}
// ************************************************************************* //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -23,4 +23,5 @@ singleGraph
#includeEtc "caseDicts/postProcessing/graphs/graph.cfg"
}
// ************************************************************************* //

View File

@ -56,4 +56,5 @@ boundaryField
}
}
// ************************************************************************* //

View File

@ -50,4 +50,5 @@ boundaryField
}
}
// ************************************************************************* //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object mechanicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -35,4 +34,5 @@ E
planeStress yes;
// ************************************************************************* //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -18,7 +18,6 @@ scale 1;
vertices
(
(0 0 0)
(30 0 0)
(30 1 0)
@ -27,7 +26,6 @@ vertices
(30 0 1)
(30 1 1)
(0 1 1)
);
blocks
@ -35,10 +33,6 @@ blocks
hex (0 1 2 3 4 5 6 7) (6 2 1) simpleGrading (1.0 1.0 1.0)
);
edges
(
);
boundary
(
topSurface
@ -78,8 +72,5 @@ boundary
}
);
mergePatchPairs
(
);
// ************************************************************************* //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //