CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

Implementation of time varying inlet BC

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ankur bhatangar

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 21, 2015, 16:27
Default Implementation of time varying inlet BC
  #1
New Member
 
Ankur Bhatnagar
Join Date: Nov 2013
Posts: 19
Rep Power: 13
ankur bhatangar is on a distinguished road
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?
ankur bhatangar is offline   Reply With Quote

Old   October 7, 2015, 02:41
Default
  #2
Senior Member
 
Vino
Join Date: Mar 2013
Posts: 130
Rep Power: 13
Vino is on a distinguished road
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.
Vino is offline   Reply With Quote

Old   October 7, 2015, 06:08
Default
  #3
Super Moderator
 
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 11
talbring is on a distinguished road
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.
talbring is offline   Reply With Quote

Old   October 7, 2015, 11:14
Default
  #4
New Member
 
Ankur Bhatnagar
Join Date: Nov 2013
Posts: 19
Rep Power: 13
ankur bhatangar is on a distinguished road
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.
Vino likes this.
ankur bhatangar is offline   Reply With Quote

Old   October 7, 2015, 12:36
Thumbs up
  #5
Senior Member
 
Vino
Join Date: Mar 2013
Posts: 130
Rep Power: 13
Vino is on a distinguished road
Quote:
Originally Posted by ankur bhatangar View Post
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.

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)
Vino is offline   Reply With Quote

Old   October 7, 2015, 15:42
Default
  #6
New Member
 
Ankur Bhatnagar
Join Date: Nov 2013
Posts: 19
Rep Power: 13
ankur bhatangar is on a distinguished road
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.
ankur bhatangar is offline   Reply With Quote

Old   October 7, 2015, 16:02
Default
  #7
Senior Member
 
Vino
Join Date: Mar 2013
Posts: 130
Rep Power: 13
Vino is on a distinguished road
Quote:
Originally Posted by ankur bhatangar View Post
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.
Plz do the simulation with fixed inlet velocity BC and check whether the solution is fine or not. Also plz post your config file that you are using.
Vino is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 00:09.