CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] Function determined refinement region

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 16, 2015, 02:49
Default Function determined refinement region
  #1
Member
 
hekseli
Join Date: Mar 2013
Posts: 49
Rep Power: 13
heksel8i is on a distinguished road
Hey!

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?

Cheers
heksel8i is offline   Reply With Quote

Old   July 23, 2015, 02:17
Default
  #2
Member
 
hekseli
Join Date: Mar 2013
Posts: 49
Rep Power: 13
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

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem simulating the temperature rise in a composite material (chtMultiRegionFoam) Adam_K OpenFOAM Running, Solving & CFD 2 March 27, 2019 06:51
[mesh manipulation] refineMesh Error mohsen.boojari OpenFOAM Meshing & Mesh Conversion 3 March 1, 2018 22:07
[blockMesh] non-orthogonal faces and incorrect orientation? nennbs OpenFOAM Meshing & Mesh Conversion 7 April 17, 2013 05:42
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56


All times are GMT -4. The time now is 01:34.