Commit 94387196 authored by Martin Bauer's avatar Martin Bauer
Browse files

Config changes in UniformGridGenerated

parent d93bbd2b
DomainSetup
{
blocks < 1, 1, 1 >;
cellsPerBlock < 64, 64, 64 >;
periodic < 1, 1, 1 >;
cellsPerBlock < 128, 128, 128 >;
periodic < 0, 0, 0 >;
}
Parameters
{
timesteps 3000; // time steps of one performance measurement
timesteps 1000; // time steps of one performance measurement
warmupSteps 1; // number of steps to run before measurement starts
outerIterations 1; // how many measurements to conduct
......@@ -18,5 +18,6 @@ Parameters
directComm 1;
omega 1.8;
shearVelocityMagnitude 0;
useGui 0;
}
......@@ -77,7 +77,8 @@ int main( int argc, char **argv )
pystencils::GenMacroSetter setterKernel(pdfFieldId, velFieldId);
pystencils::GenMacroGetter getterKernel(pdfFieldId, velFieldId);
initShearVelocity(blocks, velFieldId, shearVelocityMagnitude);
if( shearVelocityMagnitude > 0 )
initShearVelocity(blocks, velFieldId, shearVelocityMagnitude);
for( auto & b : *blocks)
setterKernel(&b);
......
......@@ -92,6 +92,8 @@ with CodeGeneration() as ctx:
'aa_odd_cse_global': False,
'aa_odd_split': True,
'aa_odd_nt_stores': False,
'compiled_in_boundaries': True,
}
config_name = ctx.config
noopt = False
......@@ -118,9 +120,7 @@ with CodeGeneration() as ctx:
'cse_global': opts['two_field_cse_global'],
'cse_pdfs': opts['two_field_cse_pdfs']}, **options)
include_boundaries = True
if include_boundaries:
if opts['compiled_in_boundaries']:
from lbmpy.boundaries import NoSlip, UBB
from lbmpy.boundaries.boundaries_in_kernel import update_rule_with_push_boundaries
from collections import OrderedDict
......
Markdown is supported
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