|
[Sponsors] |
Add scalar "shift" to an already computed simulation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 12, 2022, 10:39 |
Add scalar "shift" to an already computed simulation
|
#1 |
New Member
Joao Coelho
Join Date: Jun 2021
Posts: 23
Rep Power: 5 |
Hi all,
does anyone know if it is possible to modify a field by adding/subtracting a scalar shift to an already computed simulation? Example: I computed a simulation with one BC of pressureOutlet of 5 bar. If I want to repeat the simulation with a new BC of 15 bar instead, if I continue the simulation from the previous (with a 5 bar BC), the transient would take too much time, and (when possible to use) the steady state simulation also tend to fail. My idea was to add 10 bar to all the scalar pressure field, and proceed to simulate from that state. Thanks in advance for any suggestions. Best regards to the forum! |
|
September 13, 2022, 20:00 |
|
#2 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22 |
With funkySetFields you could change the internal field, but I have not found a method to do this also for the boundary files (funkySetFields will overwrite them with zeroGradient boundaries if you do not turn off modifying boundaries alltogether)
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error in New Surface reaction model (Having multiple reactions) | surajkvs | OpenFOAM Programming & Development | 2 | May 23, 2023 22:21 |
Temperature calculation from total enthalpy in OpenFOAM (XiFOAM) | sharifi | OpenFOAM Running, Solving & CFD | 1 | October 8, 2020 10:16 |
ERROR: request for volScalarField thermo:psi from objectRegistry region0 | AAbouali | OpenFOAM Running, Solving & CFD | 1 | September 19, 2020 05:53 |
Non uniform temperature gradient | Nabeel Abed | OpenFOAM Programming & Development | 2 | August 20, 2019 09:10 |
add user scalar in one phase | zhu | CFX | 0 | April 27, 2002 04:45 |