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

calculate difference between runs

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 22, 2010, 09:33
Default calculate difference between runs
  #1
New Member
 
Lasse
Join Date: Jun 2010
Posts: 5
Rep Power: 7
lars. is on a distinguished road
Hi all,
I am sure it is very simple, but...

I am running the same case with different settings in fvSchemes and fvSolution, once in caseDirA and once in caseDirB. I would like to study how these settings affect the solution accuracy. How can I visualize the difference between the two runs in paraFoam?

I can open both the results from caseDirA and from caseDirB in paraFoam. But the Calculator filter works only on the selected dataset, not among two different datasets.

Does OpenFOAM come with utilities to write the difference in some variable T between two cases? Like foamCalc can do some vector algebra (on a single case)?

Thx
Lars
lars. is offline   Reply With Quote

Old   August 16, 2010, 12:56
Default
  #2
New Member
 
Axel Tietjen
Join Date: Dec 2009
Location: Hamburg, Germany
Posts: 19
Rep Power: 7
Axel_T is on a distinguished road
Hi Lars,

it really seems to be a simple job to do, but I didn't found out the trick, either.

My solution was to write a scilab-script (almost similiar to MATLAB, but open-source) that takes the fielddata from both cases, calculates the difference and stores it in a new file. Then I copied the case-dir and replaced the fielddata with the calculated ones and launched paraview.

It really couldn't be more complicated!

So, if you meanwhile found the trick with the paraview-calculator, I'd be glad if you could post it here.

regards,
Axel
Axel_T is offline   Reply With Quote

Old   January 12, 2015, 07:50
Default
  #3
Member
 
Join Date: Mar 2013
Posts: 86
Rep Power: 4
giack is on a distinguished road
Hi to all,
did you manage to find the solution at the problem? I'm trying to do the same but I'm not able to do it...

Regards
giack is offline   Reply With Quote

Reply

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
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 15:45
the effect of upwind difference hades Main CFD Forum 8 March 15, 2009 00:43
mass difference with time? Prakash FLUENT 0 December 11, 2007 20:23
Difference between scaled residuals and... Dieter FLUENT 0 April 28, 2006 17:52
Fininte difference and Finite element Technique Mahendra Singh Mehra FLUENT 3 December 23, 2005 00:49


All times are GMT -4. The time now is 23:46.