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

Control simulation to apply different fields with chtMultiRegionFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 29, 2016, 07:05
Default Control simulation to apply different fields with chtMultiRegionFoam
  #1
Member
 
Joćo Ferreira
Join Date: Nov 2014
Location: Braga, Portugal
Posts: 53
Rep Power: 11
jmdf is on a distinguished road
Hi everyone,

i'm using chtMultiRegionFoam, with frozen flow, to solve a case where one valve opens and closes depending on the temperature on a specific location.
I've solved two steady states simulations, which refer to the cases where the valve is open and closed, to obtain the flow field that is then used on the transient case.
The procedure can be put like this:
  1. Start the simulation with the valve open (using the flow field from the steady state)
  2. When the max desired temperature is achieved, stop the simulation
  3. "Close the valve" - change the boundary condition on the inlet and apply the flow field of the correspondent steady state simulation
  4. Run the simulation until the min temperature is achieved
  5. "Open the valve" - change the boundary condition on the inlet and apply the flow field of the correspondent steady state simulation
  6. Run the simulation until the max temperatue is achieved
  7. Repeat until endTime

My questions are:
1) Is there any function of openFOAM that stops the simulation when certain min/max value is obtained?

2) Copying the necessary files and restart the simulation could work? As the mesh is the same, mapFields is kind of unnecessary.

3) Feel free to refer any other way of doing this, it will be very helpful!

/Regards
jmdf 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.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 19:43
chtMultiRegionFoam and Ychar and Ypmma fields Lada OpenFOAM Pre-Processing 20 February 14, 2014 14:12
how to apply constant velocity to particles during the simulation mohammad STAR-CCM+ 1 January 24, 2014 05:18
how to apply constant velocity to particles during the simulation mohammad FLUENT 2 January 24, 2014 04:17
vof simulation...magnetic fluid pressure fields. Souviktor FLUENT 0 May 22, 2010 02:19


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