Skip to content
Snippets Groups Projects
Commit 9bcffb9a authored by Jonas Plewinski's avatar Jonas Plewinski
Browse files

Add GravityWaveCodegenMinimal Testcase for Christoph to test things regarding...

Add GravityWaveCodegenMinimal Testcase for Christoph to test things regarding codegeneration integration
parent 28f1c971
No related branches found
No related tags found
No related merge requests found
...@@ -15,4 +15,9 @@ if( WALBERLA_BUILD_WITH_CODEGEN ) ...@@ -15,4 +15,9 @@ if( WALBERLA_BUILD_WITH_CODEGEN )
DEPENDS blockforest boundary core domain_decomposition field lbm postprocessing sqlite DEPENDS blockforest boundary core domain_decomposition field lbm postprocessing sqlite
timeloop vtk GravityWaveLatticeModelGenerationPB) timeloop vtk GravityWaveLatticeModelGenerationPB)
waLBerla_add_executable(NAME GravityWaveCodegenMinimal
FILES GravityWaveCodegenMinimal.cpp SQLProperties.cpp
DEPENDS blockforest boundary core domain_decomposition field lbm postprocessing sqlite
timeloop vtk GravityWaveLatticeModelGenerationPB)
endif() endif()
This diff is collapsed.
BlockForestParameters
{
cellsPerBlock < 25, 25, 1 >;
periodicity < 1, 0, 1 >;
loadBalancingFrequency 0;
printLoadBalancingStatistics false;
}
DomainParameters
{
domainWidth 50; // equivalent to wavelength
liquidDepth 25;
initialAmplitude 5;
}
PhysicsParameters
{
reynoldsNumber 10;
relaxationRate 1.8;
enableWetting false;
contactAngle 0; // only used if enableWetting=true
timesteps 20000;
}
ModelParameters
{
pdfReconstructionModel OnlyMissing;
pdfRefillingModel EquilibriumRefilling;
excessMassDistributionModel EvenlyAllInterface;
curvatureModel FiniteDifferenceMethod;
useSimpleMassExchange false;
cellConversionThreshold 1e-2;
cellConversionForceThreshold 1e-1;
enableBubbleModel false;
enableBubbleSplits false; // only used if enableBubbleModel=true
}
EvaluationParameters
{
performanceLogFrequency 10000;
evaluationFrequency 500;
filename gravity-wave.txt;
}
BoundaryParameters
{
// X
//Border { direction W; walldistance -1; NoSlip{} }
//Border { direction E; walldistance -1; NoSlip{} }
// Y
Border { direction N; walldistance -1; NoSlip{} }
Border { direction S; walldistance -1; NoSlip{} }
// Z
//Border { direction T; walldistance -1; NoSlip{} }
//Border { direction B; walldistance -1; NoSlip{} }
}
MeshOutputParameters
{
writeFrequency 864;
baseFolder mesh-out;
}
VTK
{
fluid_field
{
writeFrequency 864;
ghostLayers 0;
baseFolder vtk-out;
samplingResolution 1;
writers
{
fill_level;
mapped_flag;
velocity;
density;
//curvature;
//normal;
//obstacle_normal;
//pdf;
//flag;
force_density;
}
inclusion_filters
{
//liquidInterfaceFilter; // only include liquid and interface cells in VTK output
}
before_functions
{
//ghost_layer_synchronization; // only needed if writing the ghost layer
gas_cell_zero_setter; // sets velocity=0 and density=1 all gas cells before writing VTK output
}
}
domain_decomposition
{
writeFrequency 0;
baseFolder vtk-out;
outputDomainDecomposition true;
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment