|
[Sponsors] |
August 22, 2018, 14:20 |
Simulation Fluent
|
#1 |
New Member
Pedro Jesus Sanchez
Join Date: Aug 2018
Posts: 27
Rep Power: 7 |
Hello
I would like to know how the fluid evolves within a system. Imagine an airbox with a constant spend of air, that airbox is gaining pressure with the passage of time, for example in 30 seconds it goes from P = 0 bar to P = 0.5 bar, and when it reaches this limit the spend becomes 0 in a instant Could I represent this problem in Ansys? |
|
August 22, 2018, 16:34 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,675
Rep Power: 66 |
P = 0 bara does not exist in this universe. You have to try another number =).
The problem seems easily doable but you have a problem with your description. How do you determine when the stuff in the box is 5 bar? Because it is a pressure field and everywhere will be a different number. Are you sure you want a constant velocity inlet and are you sure you don't wan to use a pressure inlet of 5 bar? This way when the contents reach the equilibrium pressure, the flow naturally stops. |
|
August 22, 2018, 17:01 |
|
#3 |
New Member
Pedro Jesus Sanchez
Join Date: Aug 2018
Posts: 27
Rep Power: 7 |
Sorry for my description, I did it in a hurry. I will detail the problem better .
It is the airbox of a motorcycle. I want to do a simulation from the beginning to the end. We imagine a straight, at the beginning I have atmospheric pressure in the airbox and a motor spend mass flow that depends of RPM. As accelerated and the motorcycle change the pressure value goes up and the air consumption of the engine also increases. At the end of the straight I have the maximum pressure in the airbox and that's when I close the accelerator and the spend mass flow is 0, therefore a peak pressure is produced. Is there any way to simulate this whole process? I have read about procedure UDF. Could be varying the inlet pressure and the outflow in time, simultaneously? Thank you Last edited by p52sarup; August 22, 2018 at 19:44. |
|
August 23, 2018, 11:31 |
|
#4 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,675
Rep Power: 66 |
You can turn the airflow on/off simply by changing the BC condition type or setting the massflow to 0. No need for complicated UDF.
I.e. you simulate 30 seconds with some massflow. Then you change the BC. Then you simulate another 30 seconds or whatever. Only if you want a time-varying inlet pressure or time-varying massflow do you need to do a UDF. And you don't even need a UDF. You could still do it with a simple profile text file which contains a list of the values at each time. |
|
August 23, 2018, 19:58 |
|
#5 |
New Member
Pedro Jesus Sanchez
Join Date: Aug 2018
Posts: 27
Rep Power: 7 |
Thanks a lot.
The pressure at the inlet varies with time, also the mass flow at the outlet. I have incorporated this UDF to the inlet: #include "udf.h" DEFINE_PROFILE (unsteady_pressure, thread, position) { face_t f; real t = CURRENT_TIME; begin_f_loop (f, thread) { F_PROFILE (f, thread, position) = 101312 + 50 * t; } end_f_loop (f, thread) } But I do not understand very well how it works. As I understand it, the pressure will increase 101312 + 50 * t, with "t" being the time-step established in our set-up. it is right? If this is correct, I will do the same in the outlet whit the flow. the other possibility that you comment "profile text file", how is the procedure to do it? thank |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
looking for a smart interface matlab fluent | chary | FLUENT | 24 | June 18, 2021 09:07 |
Start new Ansys Fluent Simulation automatically | Malue | Fluent UDF and Scheme Programming | 1 | October 4, 2017 01:48 |
Which Multiphase Model Should be selected in Fluent for my below described simulation | oberstar | Fluent Multiphase | 0 | September 28, 2017 12:05 |
The fluent stopped and errors with "Emergency: received SIGHUP signal" | yuyuxuan | FLUENT | 0 | December 3, 2013 22:56 |
Simulation on fluent 14 | NAD | FLUENT | 0 | September 11, 2013 02:05 |