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

Setting triangular region in the mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 15, 2018, 13:30
Default Setting triangular region in the mesh
  #1
New Member
 
fluidflowsteel
Join Date: Jun 2016
Posts: 21
Rep Power: 10
fluidflowsteel is on a distinguished road
Hi,

through the setFields dictionary, one can set an initial condition for a box region. Can anyone tell me about how can i set an initial condition for a triangular region or rather how can i set a triangular region in the mesh ?

With regards,
fluidflowsteel is offline   Reply With Quote

Old   April 16, 2018, 13:55
Default
  #2
Member
 
Geir Karlsen
Join Date: Nov 2013
Location: Norway
Posts: 59
Rep Power: 13
gkarlsen is on a distinguished road
Quote:
Originally Posted by fluidflowsteel View Post
Hi,

through the setFields dictionary, one can set an initial condition for a box region. Can anyone tell me about how can i set an initial condition for a triangular region or rather how can i set a triangular region in the mesh ?

With regards,
funkySetFields (swak4foam) is probably easiest, but you might get what you need from setting field values with "rotatedBoxToCell" and then resetting part of the region with an ordinary "boxToCell" in the setFieldsDict
gkarlsen 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
help with setting up overset mesh calv FLUENT 0 May 14, 2017 09:12
conjugate heat transfer in OpenFOAM skuznet OpenFOAM Running, Solving & CFD 99 March 16, 2017 05:07
[snappyHexMesh] Layers:problem with curvature giulio.topazio OpenFOAM Meshing & Mesh Conversion 10 August 22, 2012 09:03
[Other] StarToFoam error Kart OpenFOAM Meshing & Mesh Conversion 1 February 4, 2010 04:38
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 14:09


All times are GMT -4. The time now is 23:47.