Skip to content
Snippets Groups Projects
Commit bed30741 authored by mattijs's avatar mattijs
Browse files

ENH: mixerVessel: disable running; mesh only

parent 04b1eedf
Branches
Tags
No related merge requests found
......@@ -4,36 +4,10 @@ cd ${0%/*} || exit 1 # run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
\cp system/controlDict.flow system/controlDict
# Set application name
application=$(getApplication)
# Get number of processors to run on
nProcs=$(getNumberOfProcessors)
\rm -rf 0
runApplication createBaffles -overwrite
runApplication mergeOrSplitBaffles -split -overwrite
# Get rid of zero faced patches
runApplication createPatch -overwrite
# Copy fields after meshing to avoind the generation of unnecessary patch fields
\cp -r 0.org 0
# Initialize alpha
runApplication setFields
# Decompose
runApplication decomposePar -force
# Run
runParallel $application 8
# Reconstruct
runApplication reconstructPar -noFunctionObjects
# Generate mesh
./Allrun-pre
## Run simulation
#./Allrun-simulation
# ----------------------------------------------------------------- end-of-file
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
\cp system/controlDict.flow system/controlDict
# Set application name
application=$(getApplication)
# Get number of processors to run on
nProcs=$(getNumberOfProcessors)
\rm -rf 0
runApplication createBaffles -overwrite
runApplication mergeOrSplitBaffles -split -overwrite
# Get rid of zero faced patches
runApplication createPatch -overwrite
# Copy fields after meshing to avoind the generation of unnecessary patch fields
\cp -r 0.org 0
# Initialize alpha
runApplication setFields
# Decompose
\rm log.decomposePar
runApplication decomposePar -force
# Run
runParallel $application 8
# Reconstruct
runApplication reconstructPar -noFunctionObjects
# ----------------------------------------------------------------- end-of-file
......@@ -28,17 +28,11 @@ gradSchemes
divSchemes
{
div(rho*phi,U) Gauss linearUpwind grad(U);
div(rhoPhi,U) Gauss linearUpwind grad(U);
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss interfaceCompression 1;
div(phid1,p_rgh) Gauss upwind;
div(phid2,p_rgh) Gauss upwind;
div(rho*phi,T) Gauss linearUpwind unlimited;
div(rho*phi,K) Gauss upwind;
div(phi,k) Gauss upwind;
div(phi,epsilon) Gauss upwind;
div((muEff*dev2(T(grad(U))))) Gauss linear;
div((muEff*dev(T(grad(U))))) Gauss linear;
}
......
......@@ -51,6 +51,13 @@ solvers
relTol 0;
}
pcorrFinal
{
$pcorr;
tolerance 0.1;
relTol 0;
}
".*(rho|rhoFinal)"
{
solver diagonal;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment