|
[Sponsors] |
May 29, 2019, 06:45 |
Different Initial Conditions
|
#1 |
New Member
Daniel
Join Date: May 2019
Posts: 7
Rep Power: 7 |
Hey Guys,
I have looked in many forums / reddit / Tutorials, but couldnt find any solution to this. Maybe you guys can help me out I just finished my simulation for a gas flow trough a Pipe. It looks like this: https://gyazo.com/c9c343ef38749ab49ca2e2ff2aae064a The only Initial Condition I have is the Inlet velocity. Now I want to change the value of this Condition, but dont want to run a whole new simulation. Is there a way I can see like the pressure for different velocity initial conditions? Thanks in advance |
|
May 29, 2019, 15:54 |
|
#2 |
Senior Member
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 18 |
Inlet velocity isn't an initial condition, its a boundary condition. Initial conditions are values assigned to every cell in the domain prior to calculation.
If you want to reuse previous results from your current solution as initial conditions in your next run, go to Solution > Clear Solution and unselect 'Fields' then click 'OK'. This will reset iteration to 1 but keep the values for the various fields functions stored in your domain. If you need to remesh go ahead. It will interpolate the values on to the new mesh after the mesher is finished. Adding or changing geometry can get a little tricky though. |
|
June 4, 2019, 07:49 |
|
#3 |
New Member
Daniel
Join Date: May 2019
Posts: 7
Rep Power: 7 |
Thanks for the answer.
Yea I have the Inlet Velocity as a Boundery Condition but also a set velocity as an Initial Condition. I just set the Inlet velocity as the same for my initial Condition. I want to keep the same mesh and all, only change the initial velocity and therefore the boundery condition as well. Or is this not nessesary? And how do I proceed then? |
|
June 5, 2019, 02:31 |
|
#4 | |
Senior Member
|
Quote:
Initial condition don't affect the results a lot. They are there for early convergence. You can proceed with (0,0,0) initial condition for velocity. And if you want to change the Boundary condition then you have to run the simulation once again. Otherwise you can put the different velocity BC values in tabular format or defined as field function and can run multiple cases at once. |
||
February 2, 2021, 05:49 |
|
#5 | |
New Member
Join Date: May 2020
Posts: 21
Rep Power: 6 |
Quote:
Hello! Could you please refer to some related literature, textbook or examples for the fact that initial conditions don't change the results a lot ? Thank you in advance! |
||
Tags |
initial condition |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
chtMultiRegionSimpleFoam: maximum number of iterations excedeed. | Nkl | OpenFOAM Running, Solving & CFD | 19 | October 10, 2019 03:42 |
pimpleDyMFoam computation randomly stops | babapeti | OpenFOAM Running, Solving & CFD | 5 | January 24, 2018 06:28 |
High Courant Number @ icoFoam | Artex85 | OpenFOAM Running, Solving & CFD | 11 | February 16, 2017 14:40 |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 12:08 |
SLTS+rhoPisoFoam: what is rDeltaT??? | nileshjrane | OpenFOAM Running, Solving & CFD | 4 | February 25, 2013 05:13 |