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

Correcting CofR after a simulation

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By Phicau

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 20, 2014, 14:36
Default Correcting CofR after a simulation
  #1
New Member
 
Alireza Bahmanpour
Join Date: Jul 2014
Posts: 12
Rep Power: 11
alirezab is on a distinguished road
Dear all,

I have made a terrible mistake and I really would appreciate your help. I have run around 80 (long) simulations, extracting forces that are exerted on the body of a cylinder. Most of them have been run with CofR set to (0 -1 0) in the force function and the results were fine, but then for some weird reason at some point I changed this to (0 0 0). Now all my results are messed up. Is there anyway I could still match the CofR of the different simulation together (in matlab or anything) so that I wouldn't have to spend another week running my simulations?? Or any other way to fix this? I would really appreciate any help asap.

Thank you in advance
A
alirezab is offline   Reply With Quote

Old   November 21, 2014, 02:47
Default
  #2
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
Hi Alireza,

the force function is a funtion object (i.e. located in controlDict and evaluated at runtime), right?

You just have to change the CofR and run execFlowFunctionObjects. Of course, you only obtain an output for the time steps that are saved.

Best,

Pablo
nimasam and alirezab like this.
Phicau is offline   Reply With Quote

Old   November 26, 2014, 07:04
Default
  #3
New Member
 
Alireza Bahmanpour
Join Date: Jul 2014
Posts: 12
Rep Power: 11
alirezab is on a distinguished road
Great! That did the trick. Thanks a lot!
alirezab 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
Waterbell Simulation o.b.m Fluent Multiphase 1 November 5, 2015 05:55
setting up a simulation with multiple interactions phandy OpenFOAM Running, Solving & CFD 1 October 6, 2014 03:16
mass flow rate issue in supersonic nozzle simulation xkang FLUENT 0 July 31, 2014 16:06
Simulation of a complex wing in solidworks flow simulation niels1900 FloEFD, FloWorks & FloTHERM 6 April 20, 2011 10:44
Continuous vs interrupted simulation sega OpenFOAM Running, Solving & CFD 4 November 3, 2008 14:29


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