|
[Sponsors] |
August 18, 2014, 10:55 |
Time varying boundary conditions
|
#1 |
New Member
Tansu
Join Date: Apr 2014
Location: Turkey
Posts: 16
Rep Power: 12 |
Hi,
I need to apply time varying boundary conditions to SU2 but i don't know how to do it. i looked at github and forum but there is no any topic related with it in SU2. there are many topics with other solvers but i am not sure that they are works for SU2. Is it possible to apply those kind of BC's to SU2? In other words, i have a .dat file that includes boundary conditions in node based. I mean they are not just inlet, outlet or farfield. I need to apply them to whole domain and every nodes. They are changing every time step. Is there any way to read that data to SU2. Do i need to change the .cpp code or do i need to change .cfg file or both ?? Any help is much appreciated. Thanks in advance Tansu |
|
August 22, 2014, 15:49 |
|
#2 | |
Super Moderator
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15 |
Quote:
In this particular case, I think it is better to change the source code. In previous version sod SU2 a method to dynamically change the Mach and angle of attack at the far-field was implemented, but you are looking for something more generic. Maybe you should take a look at the following subroutines in solver_direct_mean.cfg void CEulerSolver::SetInitialCondition(CGeometry **geometry, CSolver ***solver_container, CConfig *config, unsigned long ExtIter): and the far-field boundary conditions void CEulerSolver::BC_Far_Field(CGeometry *geometry, CSolver **solver_container, CNumerics *conv_numerics, CNumerics *visc_numerics, CConfig *config, unsigned short val_marker) { Cheers, Francisco |
||
August 23, 2014, 13:21 |
|
#3 |
New Member
Tansu
Join Date: Apr 2014
Location: Turkey
Posts: 16
Rep Power: 12 |
Thank you Francisco. I will try to do that.
I will let you know if i could do this or not for the other users who trouble with same issue. Regards, Tansu |
|
February 2, 2020, 22:12 |
Time varying pressure or velocity boundary condition in SU2
|
#4 |
New Member
Shyam Sunder
Join Date: Sep 2015
Posts: 27
Rep Power: 11 |
Dear All
How can we implement time varying pressure or velocity at the inlet of the domain? Something like : P(t) = P0*Sin(A*t) where t is the actual simulation time. Kindly help. Thanks |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
High Courant Number @ icoFoam | Artex85 | OpenFOAM Running, Solving & CFD | 11 | February 16, 2017 14:40 |
dynamic Mesh is faster than MRF???? | sharonyue | OpenFOAM Running, Solving & CFD | 14 | August 26, 2013 08:47 |
mixerVesselAMI2D's mass is not balancing | sharonyue | OpenFOAM Running, Solving & CFD | 6 | June 10, 2013 10:34 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |