Create coarser mesh for post-processing
My current mesh has about 23 M cells. It's fine for solving but somewhat too large for post-processing. Is there any possibility to coarsen an existing OpenFOAM mesh including results?
mapFields perhaps? http://www.openfoam.org/docs/user/ca...5-280002.1.6.3
Although I'm not sure that it can work from a high-res mesh to a coarse mesh, since it's usually done the other way around.
I think mapFields would be so way to go. I've created a coarser mesh by setting the base size in my mesher (Spider) to a higher value. Curiously the mesher then avoided creating some patches it should have and consistent mapFields failed.
Ok, I'll be investigating that issue whith the mesher, thanks so far!
(if anyone knows about that behavior with Spider I appreciate a reply of course)
I frequently do this.
Here is my approach:
1. I copy the case and call it _CM at the end.
2. I modify the blockMeshDict so it encloses a smaller volume. I do not need the farfield for visualizations.
3. I modify the snappyhexMeshDict. Here I keep a high refinement on the surfaces. I lower all other refinement levels by 2 (eg from 7 to 5). I only keep one cell between levels and a switch off the surface layers. This gets me from about 70e6 to about 8e6 cells.
4. I map the fields from the original case to the _CM case.
|All times are GMT -4. The time now is 13:42.|