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

post-processing solver

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 8, 2022, 05:58
Default post-processing solver
  #1
Senior Member
 
krishna kant
Join Date: Feb 2016
Location: Hyderabad, India
Posts: 127
Rep Power: 8
kk415 is on a distinguished road
Hello Foamers



I am trying to make my own customize post-processing solver. I guess it is not so difficult thing. However I am unable to find any right source or link for my guidance. If anyone knows then please tell.


My actual problem is let say I have run a rising bubble problem. I have saved my time step data for N number of steps (0, 0.1, 0.2, ...). I want to make a solver which loop over to read the data for each N step case and do my calculation with those data (lets say calculate bubble centroid) and I create an output data file for each N step like Xc(0, 0.1, 0.2 ...).


I am having trouble in writing the loop. What should be the syntax to read over each time step file.



Thanks
kk415 is offline   Reply With Quote

Old   September 8, 2022, 07:07
Default
  #2
Senior Member
 
krishna kant
Join Date: Feb 2016
Location: Hyderabad, India
Posts: 127
Rep Power: 8
kk415 is on a distinguished road
Hello All,


I am able to write the solver. It is a derivative of postProcess.c. It is giving results. However, I am getting a warning like this


--> FOAM Warning :
From function bool Foam::dictionary::add(Foam::entry*, bool)
in file db/dictionary/dictionary.C at line 807
Reading ""
attempt to add entry functions which already exists in dictionary ""



It is because I am using the same create fields as in my simulation solver. How can I suppress this warning? Coz in a long run it can be time consuming as well.


Thanks
kk415 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Post Processing Results: Ansys Workbench 18.2 - Fluent - CFD Post - Porous Body onlycfd CFX 4 April 29, 2021 04:02
fluent divergence for no reason sufjanst FLUENT 2 March 23, 2016 17:08
Solver Monitor Plot value is different than Post function calculator value GT_turbo CFX 0 February 15, 2016 12:08
thobois class engineTopoChangerMesh error Peter_600 OpenFOAM 4 August 2, 2014 10:52
Automated post processing using CFD Post shreyasr ANSYS 0 January 28, 2013 07:21


All times are GMT -4. The time now is 15:33.