CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Update the fields during the iteration loop

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   July 23, 2015, 06:43
Default Update the fields during the iteration loop
Join Date: Jan 2010
Location: Finland
Posts: 69
Rep Power: 9
Gitesh P is on a distinguished road

I am trying to print some fields during simulation in two-phase solver of OpenFOAM 23x.

Therefore, I first define the fields in createFields.H file of the solver. After that I mentioned as function in controlDict file (let's say volAverage value of the field over the whole domain).

Now the problem is that I am getting value of the fields at each time-step but all values are same (like initial values) which is wrong. So it seems, the defined field is not updated each time-step or each iteration.

Can anyone suggest me the right way to record it?

Best regards,
Gitesh P is offline   Reply With Quote


Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
GPU - GeForce GTX Titan Black? frode86 Hardware 11 August 8, 2016 22:36
Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Mesh Utilities 57 February 1, 2015 09:25
determining displacement for added points CFDnewbie147 OpenFOAM Native Meshers: snappyHexMesh and Others 1 October 22, 2013 09:53
ERROR #001100279 - CFX 13 - transient run Zigainer CFX 14 December 9, 2011 14:22
PostChannel maka OpenFOAM Post-Processing 5 July 22, 2009 09:15

All times are GMT -4. The time now is 21:43.