|
[Sponsors] |
Spike on forces.dat while resuming simulation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 10, 2022, 15:15 |
Spike on forces.dat while resuming simulation
|
#1 |
New Member
Pascal CASTRO
Join Date: Oct 2022
Posts: 1
Rep Power: 0 |
Hello everyone.
My question is link to this topic so I put it there. I'm a new user of OpenFOAM, so I don't know all the intricacies of how it works. Let's for instance use the motorBike example. I replaced the motorBike object by a thin plate to get a simple example. If I run the simulation for, let say 50s (setting endTime to 50) wait for the simulation to stop and resume it, it works but I have a "spike" in the forces.dat data (see the image in the link bellow. I don't know how to insert an image hosted in a htpps web site) https://i.postimg.cc/ZK9TnDQB/Figure-1.png I must do something wrong somewhere. I use the Allrun script to start at first the simulation with endTime set to 50 and startTime set to 0 in the controlDict file. To resume the simulation, I set endTime to 100, startTime to 50 in controlDict. I remove log.potentialFoam, log.simpleFoam, log.reconstructParMesh and log.reconstructPar Then I launch the simple following script which is nothing but the end of Allrun: Code:
#!/bin/sh cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions runParallel potentialFoam runParallel $(getApplication) runApplication reconstructParMesh -constant runApplication reconstructPar #-latestTime |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
dirvergence of simulations after resuming pimpleDyMFoam with latestTime | rcastilla | OpenFOAM Running, Solving & CFD | 3 | October 9, 2017 10:01 |
Surface Source - Fixed Temperature? | robtheslob | FloEFD, FloWorks & FloTHERM | 18 | May 12, 2017 03:28 |
Simulation FPEs - turbulence for transient and steady-state? | DaveR | OpenFOAM Running, Solving & CFD | 5 | March 5, 2017 16:06 |
Resuming transient simulation | Willem | FLUENT | 0 | June 23, 2008 11:47 |
3-D Contaminant Dispersal Simulation | Apple L S Chan | Main CFD Forum | 1 | December 23, 1998 11:06 |