|
[Sponsors] |
June 12, 2021, 08:39 |
snappyHexMeshDict - user defined variables
|
#1 |
Senior Member
Giles Richardson
Join Date: Jun 2012
Location: Cambs UK
Posts: 102
Rep Power: 14 |
how do you specify user defined variables in snappyHexMeshDict?
eg... minLevel = 4 maxLevel = 6 then... baseline { level ($minLevel $maxLevel); } |
|
June 14, 2021, 05:25 |
|
#2 |
Senior Member
Giles Richardson
Join Date: Jun 2012
Location: Cambs UK
Posts: 102
Rep Power: 14 |
its actually quite easy...
// levels are specified below in feature edge refinement, // surface based refinement, and region based refinement. minLev 4; maxLev 6; geometry { level ($minLev $maxLev); } |
|
Tags |
openfoam, snappyhexmesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
User defined time step - Possible to put variable time stepping in it? | maccheese | Fluent UDF and Scheme Programming | 19 | June 4, 2018 10:49 |
User defined heat source | redwanamit034 | STAR-CCM+ | 2 | April 6, 2018 11:00 |
[General] Paraview User defined view | prapanj | ParaView | 3 | January 3, 2014 21:54 |
user defined turbulence model | manuutin | STAR-CD | 5 | October 14, 2009 06:29 |
User Defined Scalars - Returning Values | Carlos V. | FLUENT | 0 | April 19, 2006 19:18 |