|
[Sponsors] |
September 21, 2015, 16:27 |
Implementation of time varying inlet BC
|
#1 |
New Member
Ankur Bhatnagar
Join Date: Nov 2013
Posts: 19
Rep Power: 13 |
Hi guys,
I am solving flow inside pipe with varying inlet velocity profile.I am basically using Incompressible formulation and implemented velocity profile in SOLVER_DIRECT_MEAN in void CEulerSolver::BC_Inlet(CGeometry *geometry, CSolver **solver_container, CNumerics *conv_numerics, CNumerics *visc_numerics, CConfig *config, unsigned short val_marker) in if(incompressible) with V_inlet as a parameter varying with time. BCs i am using is Velocity_inlet ,wall with flux 0.0 and Pressure outlet with back pressure 101325. As a result of simulations i am getting Conservative_1 negative and zero. My working fluid is water .I also tried modify density in code by giving it direct value as 998.2 . My concern is I don't have idea of V_Domain used in code ?what is its purpose? How Incompressible solver is calculating Pressure? Reasons for getting negative and zero Conservative_1 ?How can i modify Conservative_1? |
|
October 7, 2015, 02:41 |
|
#2 |
Senior Member
Vino
Join Date: Mar 2013
Posts: 130
Rep Power: 13 |
Hi Ankur,
I once tried time varying BCs for compressible flow. But incompressible, the time is not a real time (pseudo time- if you are using AC). Plz clarify.! Also, the pressure is normalized with free stream pressure and it is possible to get Zero and negative pressure values in incompressible flow. In incompressible, it just calculates the relative change of pressure. |
|
October 7, 2015, 06:08 |
|
#3 |
Super Moderator
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 11 |
Hi Ankur,
as Vino already wrote, incompressible flows are computed in SU2 using the artificial compressibilty method (https://math.berkeley.edu/~chorin/chorin67.pdf). This formulation is only valid for steady problems. |
|
October 7, 2015, 11:14 |
|
#4 |
New Member
Ankur Bhatnagar
Join Date: Nov 2013
Posts: 19
Rep Power: 13 |
Thanks for the information.I understood these points while i was trying with su2 few days back .Now i have shifted to openfoam for my this case.
|
|
October 7, 2015, 12:36 |
|
#5 | |
Senior Member
Vino
Join Date: Mar 2013
Posts: 130
Rep Power: 13 |
Quote:
Hi Ankur, If you are finding OpenFOAM is a better choice for your problem, you can go ahead with it. However, you can do the same thing with SU2 also. Only thing you have to take care is that your BCs should vary with real time, not with the pseudo time (you have to keep the config setting as unsteady, Dual Time Stepping and you should use real-time in your BCs) |
||
October 7, 2015, 15:42 |
|
#6 |
New Member
Ankur Bhatnagar
Join Date: Nov 2013
Posts: 19
Rep Power: 13 |
hi ,
I am calling current iter number and time step .Then finding time T= (Extiter-1)*dt; My working fluid is water and When I run the simulation it is showing negative conservative_1 and zeroes somewhere which is giving me lots of worries.I am unable to match result with exp data for same case.I don't know why it is showing such behaviour.If you have any idea then please explain. |
|
October 7, 2015, 16:02 |
|
#7 | |
Senior Member
Vino
Join Date: Mar 2013
Posts: 130
Rep Power: 13 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Elastic or Plastic Deformations in OpenFOAM | NickolasPl | OpenFOAM Pre-Processing | 36 | September 23, 2023 09:22 |
Multiple floating objects | CKH | OpenFOAM Running, Solving & CFD | 14 | February 20, 2019 10:08 |
Sudden jump in Courant number | NJG | OpenFOAM Running, Solving & CFD | 7 | May 15, 2014 14:52 |
mixerVesselAMI2D's mass is not balancing | sharonyue | OpenFOAM Running, Solving & CFD | 6 | June 10, 2013 10:34 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |