|
[Sponsors] |
Local fixed time step in one equation within the whole domain |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
MrXuxu
Join Date: Sep 2019
Posts: 17
Rep Power: 6 ![]() |
Hello everyone,
I’m performing aeroacoustics transient solver with local time step or two physical time. The process of the simulation is showed as following: 1)UEqn.H 2)pEqn.H (which is same as the pisoFoam and the two is controlled by larger time step T_flow) 3) aco.H : the aco.H reads some information from the flow field and doesn’t return results to the flow field. In this process, the time step of aco.H, I hope, is 10 times smaller of T_flow(T_aco = 0.1T_flow) and the value “10 times” is the fixed value that I can input. Therefore, my problems is how to implement it T_T and I have no clues on it. To be more detailed, how to perform time-control in OpenFOAM ? Thank you very much if you can give me a hand! |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,694
Blog Entries: 6
Rep Power: 50 ![]() ![]() ![]() |
Hey,
simply spoken:
Code:
if (runTime.value() % 10 == 0) { // Execute all from pisoFoam } acoustic.eqn; Cheers.
__________________
Keep foaming, Tobias Holzmann |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
MrXuxu
Join Date: Sep 2019
Posts: 17
Rep Power: 6 ![]() |
Hello Tobi,
I'm grateful to your helping and it works very well Best wishse! Memorise |
|
![]() |
![]() |
![]() |
Tags |
lts |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
LES, Courant Number, Crash, Sudden | Alhasan | OpenFOAM Running, Solving & CFD | 5 | November 22, 2019 02:05 |
Floating point exception error | lpz_michele | OpenFOAM Running, Solving & CFD | 53 | October 19, 2015 02:50 |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 15:33 |
plot over time | fferroni | OpenFOAM Post-Processing | 7 | June 8, 2012 07:56 |
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 | bookie56 | OpenFOAM Installation | 8 | August 13, 2011 04:03 |