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

Update the fields during the iteration loop

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 23, 2015, 06:43
Default Update the fields during the iteration loop
  #1
Member
 
Gitesh
Join Date: Jan 2010
Location: Finland
Posts: 73
Rep Power: 16
Gitesh P is on a distinguished road
Hello,

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,
GP
Gitesh P 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
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Community Contributions 58 December 23, 2021 02:36
GPU - GeForce GTX Titan Black? frode86 Hardware 11 August 8, 2016 22:36
[snappyHexMesh] determining displacement for added points CFDnewbie147 OpenFOAM Meshing & Mesh Conversion 1 October 22, 2013 09:53
ERROR #001100279 - CFX 13 - transient run Zigainer CFX 14 December 9, 2011 13:22
PostChannel maka OpenFOAM Post-Processing 5 July 22, 2009 09:15


All times are GMT -4. The time now is 07:32.