|
[Sponsors] |
Perturbation to a Steady State Solution, how to? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 16, 2015, 06:56 |
Perturbation to a Steady State Solution, how to?
|
#1 |
New Member
Ashwin N
Join Date: Feb 2015
Posts: 1
Rep Power: 0 |
Hey all!
So I am modelling a simple Laminar 2D Pipe flow in Fluent, (which I am new to btw). So, once I solve for the transient case for a certain timesteps and I get more or less a steady state solution, I want to introduce a pressure perturbation at the inlet and wanna gauge the response of the fluid. How can I go about doing this in Fluent? Kindly suggest a simple method for this. Regards. |
|
October 17, 2017, 07:46 |
introducing a perturbation
|
#2 |
New Member
Rohit
Join Date: Jul 2016
Posts: 9
Rep Power: 10 |
Hello,
If you want to introduce a perturbation by changing the boundary condition, I would suggest you use a UDF. The following is a code which you can save as a .c file and compile in FLUENT /* the following UDF imposes a value of pressure p0 at the required boundary before time t1. Once t1 is crossed the this a perturbation is introduced in the form of an increased pressure, p1, at the boundary. This is done using an if-else condition */ #include "udf.h" DEFINE_PROFILE(unsteady_pressure, thread, position) { face_t f; real t = CURRENT_TIME; real t1 = 0.1; /*The time after which you want to add the perturbation*/ real p0 = 200; /*This is the initial pressure you impose at the boundary*/ real p1 = 210; /*This the perturbed value of pressure*/ begin_f_loop(f, thread) { if(t<t1) { F_PROFILE(f, thread, position) = p0; } else { F_PROFILE(f, thread, position) = p1; } } end_f_loop(f, thread) } |
|
October 17, 2017, 07:47 |
|
#3 |
New Member
Rohit
Join Date: Jul 2016
Posts: 9
Rep Power: 10 |
you may search online how to add a UDF to FLUENT
|
|
Tags |
oscillations, perturbation, response |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Solidification modelling-Continuous Casting- Steady State. | lucky_m_m | FLUENT | 1 | June 8, 2022 23:23 |
The difference between steady state and transient | JuPa | CFX | 36 | December 9, 2019 23:50 |
mass flow in is not equal to mass flow out | saii | CFX | 12 | March 19, 2018 06:21 |
Solver for transonic flow? | Martin Hegedus | OpenFOAM Running, Solving & CFD | 22 | December 16, 2015 05:59 |
Steady State 2 phase problem | fivos | FLUENT | 0 | April 27, 2009 17:34 |