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

Manipulating field values in a specified area of a 3D domain

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 28, 2019, 09:09
Default Manipulating field values in a specified area of a 3D domain
  #1
Member
 
Chris Schäfer
Join Date: Apr 2017
Posts: 34
Rep Power: 9
Chris123 is on a distinguished road
Hello everyone,
I have a 3D hilly terrain and want to manipulate variables e.g. Temperature of a specific area inside the domain.
That mean, I want first, run my “normal” case Steadystate that the flow is developed. (That’s of course no problem)
But, afterwards I would like to change only Temperature conditions around a mountain (e.g. at the northern valley 0-50m in height (z-axis) at some specific x/y-cells inside of my domain.
Afterwards I will restart the run.

Is there any solution for that?
Chris123 is offline   Reply With Quote

Old   March 31, 2019, 12:31
Default
  #2
Senior Member
 
Join Date: Aug 2015
Posts: 494
Rep Power: 14
clapointe is on a distinguished road
Yes, you can use setFields to set the temperature of some cellSet. See eg. https://github.com/OpenFOAM/OpenFOAM...akWithObstacle.

Caelan
clapointe is offline   Reply With Quote

Old   April 15, 2019, 09:25
Default
  #3
Member
 
Chris Schäfer
Join Date: Apr 2017
Posts: 34
Rep Power: 9
Chris123 is on a distinguished road
Sorry for my late reply, thank you it works.
Chris123 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
[OpenFOAM] Surface field value gives incorrect area McReijen ParaView 0 July 18, 2018 05:28
How to assign different values for every cells in a part of the domain clktp OpenFOAM Pre-Processing 0 April 1, 2016 11:45
Pressure distribution on a wall darazsbence CFX 17 October 6, 2015 10:38
Non overlap area fractions saisanthoshm88 CFX 11 September 17, 2015 18:42
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20


All times are GMT -4. The time now is 02:55.