Can't introduce boundary conditions after snappyHexMesh
Hello,
My problem is likely between keyboard and the chair. I am comparing with motorBike tutorial, but I still can't find out what's going on. Could you please advise?
I am running a standard snappyHexMesh
workflow. The meshing has to be done in parallel and will introduce a new boundary condition, structure
. I have IC/BC files in 0.orig
with some lovely no slip configuration raring to stop the flow. The geometry file is a legacy VTK, exported directly from ParaView after some modifications to original CAD files.
As per this issue I cannot run decomposePar -fields
after snappyHexMesh -overwrite
because the processor addressing no longer matches. When I decomposePar
my fields before snappHexMesh
step, structure
is ignored as it doesn't exist at this point.
I noticed that motorBike uses restore0Dir -processor
, but when I tried the same I get an error about missing interprocessor boundaries. I also tried sed
-in my structure no slip to all relevant files, but also ended up with missing interprocessor boundaries.
The only thing which seems to work is a rather undignified redecompose:
reconstructParMesh -constant
cp -r 0.orig 0
decomposePar -force
I would prefer to avoid it as my largest mesh should remain decomposed for health and safety reasons.