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

Correcting CofR after a simulation

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

Like Tree2Likes
  • 2 Post By Phicau

Reply
 
LinkBack Thread Tools Display Modes
Old   November 20, 2014, 15:36
Default Correcting CofR after a simulation
  #1
New Member
 
Alireza Bahmanpour
Join Date: Jul 2014
Posts: 7
Rep Power: 3
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, 03:47
Default
  #2
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: London, UK
Posts: 242
Rep Power: 7
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, 08:04
Default
  #3
New Member
 
Alireza Bahmanpour
Join Date: Jul 2014
Posts: 7
Rep Power: 3
alirezab is on a distinguished road
Great! That did the trick. Thanks a lot!
alirezab 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
setting up a simulation with multiple interactions phandy OpenFOAM Running, Solving & CFD 1 October 6, 2014 03:16
Waterbell Simulation o.b.m Fluent Multiphase 0 August 2, 2014 08:01
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 15:29


All times are GMT -4. The time now is 04:40.