CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Meshing & Mesh Conversion

Function determined refinement region

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   July 16, 2015, 02:49
Default Function determined refinement region
Join Date: Mar 2013
Posts: 48
Rep Power: 6
heksel8i is on a distinguished road

I would like to manage to make cell split refinement for a region, which, e.g. outer surface is determined as a function. This surface could be for example a parabolic cylinder x^2 + y +z =0 or something else.

Naturally I could always create this kind of surface in .stl or similar format and then use refineMesh+topoSet functionality but I don't find this feasible when playing around and changing similar mesh slightly from case to case.

I would assume that by abusing topoSet feature and some scripting this could be possible.

Any ideas or experience?

heksel8i is offline   Reply With Quote

Old   July 23, 2015, 02:17
Join Date: Mar 2013
Posts: 48
Rep Power: 6
heksel8i is on a distinguished road
In the end I decided to create parametrized scripts for stl files via openscad and then just refine by using them. Anyway if I have more time in some point I check if this could be possible via existing functions in OF.
heksel8i is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
snappyHexMesh Segmentation Fault avd28 OpenFOAM Native Meshers: snappyHexMesh and Others 11 May 11, 2015 20:32
error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Native Meshers: blockMesh 2 March 14, 2012 10:56
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
Compilation errors in ThirdPartymallochoard feng_w OpenFOAM Installation 1 January 25, 2009 07:59
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51

All times are GMT -4. The time now is 00:07.