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

Force spike problem when resuming 6dof simulation

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By quarkz

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 18, 2022, 11:49
Default Force spike problem when resuming 6dof simulation
  #1
Senior Member
 
TWB
Join Date: Mar 2009
Posts: 414
Rep Power: 19
quarkz is on a distinguished road
Hi,

I tried to run a simple 6dof simulation, allowing only 1dof in pitch for an airfoil. The problem setup comes from the wingMotion2D.

I ran for 0.5s and the simulation completes w/o error.

However, I realised that if I stop at 0.1s and then resumes, at the first few steps, the forces and moments become very large. At the 1st step, it is of the order 1e5 or 1e6. It decreases as the simulation runs and got back to normal after abt 10+ to 20 timesteps. In comparison, at the same time step, if I run from zero, it is of the order 1e2.

delta_t for the resumed case is 1e-7 and it slowly becomes larger. on the other hand, if I run from zero, delta_t ~ 1e-5.

Is this expected or normal? I'm thinking some values in the calculation are different in the resumed case, at least in the beginning.

Can anyone shed light on this?

And how can I reduce such spikes?
quarkz is offline   Reply With Quote

Old   July 18, 2022, 15:07
Default
  #2
Senior Member
 
Julio Pieri
Join Date: Sep 2017
Posts: 109
Rep Power: 9
JulioPieri is on a distinguished road
I'm not sure about the 6dof solver, but with combustion/radiation I also noticed that some variables did oscillate when resuming a case (Q_dot, G, etc). My conclusion was that some intermediate variables were not written, so those results were reset every begin of run.

Check how the force is calculated and see if the variables are written in files. If they aren't, you can try writing them to see if it solves the problem - the IO must be read_if_present on them.
JulioPieri is offline   Reply With Quote

Old   July 21, 2022, 05:23
Default
  #3
Senior Member
 
TWB
Join Date: Mar 2009
Posts: 414
Rep Power: 19
quarkz is on a distinguished road
Hi JulioPieri, thanks for the info.

So what I did is to mix the old and new values with decreasing influence on the old variables as simulation proceeds. This seems to help to prevent divergence.
JulioPieri likes this.
quarkz 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
SU2-7.0.1 on ubuntu 18.04 hyunko SU2 Installation 7 March 16, 2020 05:37
ActuatorDiskExplicitForce in OF2.1. Help be_inspired OpenFOAM Programming & Development 10 September 14, 2018 12:12
Oscillations of force and flow rate within FSI simulation of biomedical valve jtwilson FLUENT 0 September 23, 2015 14:26
Large-scale simulation problem Purushothama Main CFD Forum 0 November 7, 2010 21:12
problem with pressure force report jvd FLUENT 0 August 3, 2010 03:19


All times are GMT -4. The time now is 01:27.