|
[Sponsors] |
March 8, 2017, 20:55 |
Calculate the derivative in CFX
|
#1 |
Member
Yuva
Join Date: Oct 2015
Location: Korea Rep of
Posts: 33
Rep Power: 10 |
Dear CFD Community
I would like to obtain the derivative of the speed of sound with respect to density in CFX [ dc/drho ], is there any way to create this expression ? Thanks in advance for your Help |
|
March 8, 2017, 21:26 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143 |
Is it a single value or a fixed function (and probably therefore a fixed material property) or does it vary over the simulation field?
|
|
March 8, 2017, 21:42 |
|
#3 |
Member
Yuva
Join Date: Oct 2015
Location: Korea Rep of
Posts: 33
Rep Power: 10 |
Thanks for your reply
it is not a single, it is a set of data between the inlet of the domain and the outlet (turbine) so it varies over the simulation field |
|
March 8, 2017, 22:08 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143 |
Can you define a CFD-Post variable of dc/dx * 1/(drho/dx)? You can evaluate the d/dx terms using the CEL gradient functions.
|
|
March 8, 2017, 23:22 |
|
#5 |
Member
Yuva
Join Date: Oct 2015
Location: Korea Rep of
Posts: 33
Rep Power: 10 |
I tried this option but I used the gradient expression :
Speed of Sound.Gradient / Density.Gradient since I am working on 3D flow simulation I am not sure if I am right or wrong because I want to get the derivative of the speed of sound with respect to the density not with respect to time dt or distance dx |
|
March 9, 2017, 00:18 |
|
#6 | |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143 |
You will have to define the direction to take the gradient in. You might have to define gradient use variables to access them, but just use the x direction gradients.
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Differences between CFX and OpenFOAM regarding convergence and robustness! | magjohan | OpenFOAM Running, Solving & CFD | 4 | February 26, 2015 10:26 |
Pros and Cons for CFX, CFdesign, COMSOL | Val | Main CFD Forum | 3 | June 10, 2011 02:20 |
[ICEM] Node Number vs. Node_ID & ICEM vs. CFX | Araz | ANSYS Meshing & Geometry | 1 | April 25, 2011 11:03 |
using CFX to calculate NPSHR for pump | sandy | CFX | 0 | March 19, 2008 12:52 |
CFX 4.4 installation problem | Pandu Sattvika | CFX | 1 | December 1, 2001 04:07 |