|
[Sponsors] |
March 18, 2021, 16:24 |
Setting a pressure loss in cfx
|
#1 |
New Member
Saiyed Tasnim Md. Fahim
Join Date: Sep 2018
Location: Obninsk Institute for nuclear power engineering
Posts: 23
Rep Power: 8 |
Hi, I am working with a steam generator and a pump which are connected to a reactor. I want to set the pressure loss/drop in both of them. Additionally, for steam generator I want to add a negative heat transfer per unit volume. But I couldn't find any exact tutorial for that. Can anyone help?
|
|
March 18, 2021, 18:22 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
One approach is to use a momentum source term for the pump and pressure loss through devices, and to use a heat source term for the steam generator.
Alternately you can model that actual devices to generate the pressure/heat gains/losses.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
March 18, 2021, 20:50 |
Where are these options
|
#3 |
New Member
Saiyed Tasnim Md. Fahim
Join Date: Sep 2018
Location: Obninsk Institute for nuclear power engineering
Posts: 23
Rep Power: 8 |
Can you tell me specifically where are these options of adding a momentum source and a heat source?
I tried to create domain and then boundary but unfortunately I couldn't find these extra options. Last edited by stfahim; March 18, 2021 at 20:51. Reason: Spelling mistake |
|
March 19, 2021, 00:06 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
You can add source terms three ways:
As a source point (then it acts at the element you apply it to) On a boundary face (then it acts on the boundary face you apply it to) Or on a volume (then it acts on the volume). Source point is a stand-alone option. Boundary face is one of the tabs in the boundary condition tab. For a volume source, you need to define the volume in your mesh, then make it a sub-domain. You can then apply the source term to the sub-domain.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
March 22, 2021, 19:54 |
Thank you
|
#5 |
New Member
Saiyed Tasnim Md. Fahim
Join Date: Sep 2018
Location: Obninsk Institute for nuclear power engineering
Posts: 23
Rep Power: 8 |
Thank you for your help. 😄
|
|
March 31, 2021, 08:30 |
mesh independence test
|
#6 |
New Member
Saiyed Tasnim Md. Fahim
Join Date: Sep 2018
Location: Obninsk Institute for nuclear power engineering
Posts: 23
Rep Power: 8 |
If I want to do a mesh independence test in cfx what is the procedure? I didn't find any suitable tutorial on it. I know this only for fluent.
|
|
March 31, 2021, 08:33 |
|
#7 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,928
Rep Power: 28 |
Why not use the procedure for Fluent? Should not differ much, I would guess.
|
|
May 28, 2021, 02:04 |
Stack overflow error
|
#8 |
New Member
Saiyed Tasnim Md. Fahim
Join Date: Sep 2018
Location: Obninsk Institute for nuclear power engineering
Posts: 23
Rep Power: 8 |
Can you guys tell why this is appearing and how to solve this?
|
|
May 28, 2021, 02:35 |
|
#9 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
You should deal with errors one at a time, with the first reported error being the key one.
In this case you are getting a bounds error. So change the table range to cover the temperature and pressure range in your simulation, with a bit of tolerance added for numerical convergence. The later errors are probably caused by this one, so fix the bounds error first.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
May 28, 2021, 19:33 |
table range
|
#10 |
New Member
Saiyed Tasnim Md. Fahim
Join Date: Sep 2018
Location: Obninsk Institute for nuclear power engineering
Posts: 23
Rep Power: 8 |
What is meant by the table range?
actually there are a lot of parameters in the setup; so it is a bit difficult for me to understand. |
|
May 29, 2021, 02:39 |
|
#11 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
(I am not at work at the moment so cannot get the exact page up - but it is something like this):
In the materials setup on the properties table expand out the options and you will see settings for the table generation. What this does is CFX takes your material model and evaluates the material properties at the points defined in the table, then during the simulation it uses the table rather than your function. This is why you need to make sure the table is appropriately sized for your simulation as it needs to be big enough to cover the range of interest, but not so big that you loose detail.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
June 7, 2021, 12:23 |
How to write volume flow rate expression
|
#12 |
New Member
Saiyed Tasnim Md. Fahim
Join Date: Sep 2018
Location: Obninsk Institute for nuclear power engineering
Posts: 23
Rep Power: 8 |
I want to assign pressure drop as a function of flow rate. I created a table based on the values of the flow rate and its corresponding pressure values and defined a user function. Then I created an expression named pd(volume flowrate) but it doesn't work. What is the correct expression for the flow rate in the bracket?
Do the expression name and the user function name have to be the same? |
|
June 8, 2021, 06:59 |
|
#13 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
What type of user function did you use? Interpolation? CEL? User fortran?
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
June 8, 2021, 10:06 |
|
#14 |
New Member
Saiyed Tasnim Md. Fahim
Join Date: Sep 2018
Location: Obninsk Institute for nuclear power engineering
Posts: 23
Rep Power: 8 |
I changed the user function a little bit. I gave values of velocity now (m/s) instead of flow rate and its corresponding pressure values(kg m^-2). Then I created the table and completed the user function. I assigned it a name "PD".
Then in the expression I defined it as PD(Velocity) with name pd. And it shows the exact graph in the plot option. But when I try to enter this expression in the required section(pump pressure change) an error is shown. I have attached the photos. It is saying expected units in kg m^-1 s^-2. But I don't know how to solve this issue. |
|
June 8, 2021, 10:11 |
|
#15 |
Senior Member
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33 |
Your "Results Units" in the interpolation function are incompatible with Pressure units.
I guess they are in [Pa] or some multiple of them.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
June 8, 2021, 10:21 |
|
#16 |
New Member
Saiyed Tasnim Md. Fahim
Join Date: Sep 2018
Location: Obninsk Institute for nuclear power engineering
Posts: 23
Rep Power: 8 |
How to solve this? I am a newbie in case of matching units.
|
|
June 8, 2021, 10:57 |
|
#17 |
Senior Member
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33 |
Check how you defined the interpolation function.
Once you correct the definition/creation of the interpolation function, your units should be compatible. I cannot tell you what to change since I do not know the source of the data used to define the CEL function. I also forgot to mention that after you fix your units, you should modify the usage of the function from PD(Velocity) to either PD (Velocity u/v/w) or PD(MyNormalVelocity) The expressions in CFX Solver do not support Velocity (vector) as an input for a required scalar, i.e. you must provide a scalar (say velocity component or velocity projection)
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
June 8, 2021, 12:03 |
|
#18 |
New Member
Saiyed Tasnim Md. Fahim
Join Date: Sep 2018
Location: Obninsk Institute for nuclear power engineering
Posts: 23
Rep Power: 8 |
If I want to get a reverse flow should I have to write PD(-u)? Assuming the velocity in -ve x direction. Or it should be -PD(u)?
|
|
June 9, 2021, 21:30 |
Thank you
|
#19 |
New Member
Saiyed Tasnim Md. Fahim
Join Date: Sep 2018
Location: Obninsk Institute for nuclear power engineering
Posts: 23
Rep Power: 8 |
Thank you guys. I was able to match the units and get the desired results. Though I didn't use the table as the average velocity in this case was not easy to calculate. So I created an equation and it worked with good precision.
|
|
June 9, 2021, 21:32 |
Question about mesh sensitivity test
|
#20 |
New Member
Saiyed Tasnim Md. Fahim
Join Date: Sep 2018
Location: Obninsk Institute for nuclear power engineering
Posts: 23
Rep Power: 8 |
I have some additional questions. Please answer if you can.
1. If I get my desired results without setting any convergence criteria within cfx, and the results are 1-5% (one flow rate) and 8%(three other flow rates) of the design parameters, do I need to do a mesh sensitivity test? As the user points(flow rates and temperatures) are more or less constant. 2. Also, if I set a convergence criteria and the solution doesn't converge within the set iteration number but if I see the results are more or less constant then can I conclude that my solution is converged? In that case, should I need to do a mesh sensitivity test? |
|
Tags |
cfx, negative heat transfer, pressure drop, pump, steam generator |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wind tunnel Boundary Conditions in Fluent | metmet | FLUENT | 6 | October 30, 2019 13:23 |
Periodic flow using Cyclic - comparison with Fluent | nusivares | OpenFOAM Running, Solving & CFD | 30 | December 12, 2017 06:35 |
Calculation of the Governing Equations | Mihail | CFX | 7 | September 7, 2014 07:27 |
Question about heat transfer coefficient setting for CFX | Anna Tian | CFX | 1 | June 16, 2013 07:28 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 05:41 |