|
[Sponsors] |
July 17, 2020, 00:27 |
refine mesh with stl region
|
#1 |
Member
Francisco T
Join Date: Nov 2011
Location: Melbourne, Australia
Posts: 64
Blog Entries: 1
Rep Power: 15 |
Hi Foamers
Apologies if this was asked before. Is it possible to refine a region of a mesh created by BlockMesh using an STL file? The region is defined by an STL and is not part of the geometry (is not a boundary), but is defined initial alpha.water distribution. What I do is the following: 1. Generate a mesh with blockMesh 2. Set fields (setFieldsDict) with the STL 3. Refine mesh with dynamicMesh dict, but some information is lost as blockMesh is coarse. I have tried snappyHexMesh, but so far in my attempts, it treats the STL as boundary, and snappy is an overkill as this is a simple geometry. any clues will be appreciated! thanks Fran |
|
July 17, 2020, 01:06 |
|
#2 |
Member
Francisco T
Join Date: Nov 2011
Location: Melbourne, Australia
Posts: 64
Blog Entries: 1
Rep Power: 15 |
I found a get around from another post (thanks to OlivierG):
Generating Mesh for a drop in another fluid 1) from you initial mesh, use setFields 2) run 1 iterate with interDyMFoam => this with refine mesh at interface 3) call setField again (re initialise) 4) run ... |
|
Tags |
blockmesh, stl |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Foam::error::PrintStack | almir | OpenFOAM Running, Solving & CFD | 92 | May 21, 2024 08:56 |
Error when solving p_rgh | bob94 | OpenFOAM | 0 | March 17, 2020 09:12 |
[snappyHexMesh] Not Able to Refine Mesh in Refinement Box | noodleluvmay | OpenFOAM Meshing & Mesh Conversion | 2 | January 27, 2020 11:55 |
[Other] conformed FSI mesh for unstructured fluid region | ashish.svm | OpenFOAM Meshing & Mesh Conversion | 10 | August 2, 2019 09:40 |
[snappyHexMesh] Layers:problem with curvature | giulio.topazio | OpenFOAM Meshing & Mesh Conversion | 10 | August 22, 2012 10:03 |