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

Defining Values in the setFieldsDict

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 10, 2021, 10:03
Default Defining Values in the setFieldsDict
  #1
Member
 
Join Date: Dec 2020
Posts: 38
Rep Power: 5
ulugbey is on a distinguished road
Hi,

I defined a geometrical shape in toposetDict which is shown as the red region in the attached picture.

Now I want to give the initial values for some parameters inside this region. I think it would be possible to give initial values using setFieldsDict.

How can be accessed in the Setfieldsdict to the region which is defined in the toposetDict?

Thanks a lot!
Attached Images
File Type: png Unbenannt.png (64.6 KB, 16 views)
ulugbey is offline   Reply With Quote

Old   July 25, 2021, 17:56
Default
  #2
Member
 
MNM
Join Date: Aug 2017
Posts: 69
Rep Power: 8
SHUBHAM9595 is on a distinguished road
A workaround to this could be to transform the area of interest (red highlighted portion of ur figure) in the cylindrical coordinate system. This will help to PRECISELY define the boundaries of the domain. Then you can use funkySetFields along with multiple "conditional operators".

More on the funkySetField can be found at https://openfoamwiki.net/index.php/C...funkySetFields
SHUBHAM9595 is offline   Reply With Quote

Reply

Tags
openfoam, setfieldsdict, toposetdict


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
using chemkin JMDag2004 OpenFOAM Pre-Processing 2 March 8, 2016 22:38
Velocity values are normal but pressure values are too big rv82 OpenFOAM Running, Solving & CFD 4 April 13, 2015 03:59
Setting patch field values equal to internal field values leroyv OpenFOAM Programming & Development 1 October 21, 2014 15:49
Loading Cell Values in Tecplot P1361 OpenFOAM Post-Processing 3 September 16, 2014 04:02
Plotting raw data values Wilesco Siemens 0 January 5, 2006 05:34


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