ANSYS CFX Expression Lang
Under Construction, the material is available, unfortunately I didn’t get around writing the gas turbine combustion chamber tutorial which has been requested regularly in addition to some problems I didn’t get around in solving relating to the tutorial. Wishing you all the best.
|
Inserting an Equation into CFX
The process goes through the following steps,
the first is the derivation
process of the non dimensionalized equation, then inputting the equation into
ANSYS-CFX.
Deriving the Non-Dimensional Equation
The Travelled_Source_Distance =1m
You will need to find the initial coordinate of the source according to the axis of motion, I will call it X0
Travelled_Probe_Distance =X-X0 (mm)
Where X is the last reached point.
V=1 (m/sec)
Total_Process_Time=1*60 (sec)
None dimensioning of the velocity equation
(v/v*)*(dt/dt*)=dx/L*
This can be written
V=V* because there is no change in the velocity
(dt/dt*)=dx/L*
This is then written
dx= (dt/dt*) L*
x-x0=(dt/dt*) L*
we assigntime as the following
dt=t
x= Source_Location
L*=Travelled_Source_Distance
This the expression needed to input into ANSYS
Source_Location=( Travelled_Source_Distance)* (t/ (Total_Process_Time ))+x0
Source_Location= (t/ (60))+x0
You will need to find the initial coordinate of the source according to the axis of motion, I will call it X0
Travelled_Probe_Distance =X-X0 (mm)
Where X is the last reached point.
V=1 (m/sec)
Total_Process_Time=1*60 (sec)
None dimensioning of the velocity equation
(v/v*)*(dt/dt*)=dx/L*
This can be written
V=V* because there is no change in the velocity
(dt/dt*)=dx/L*
This is then written
dx= (dt/dt*) L*
x-x0=(dt/dt*) L*
we assigntime as the following
dt=t
x= Source_Location
L*=Travelled_Source_Distance
This the expression needed to input into ANSYS
Source_Location=( Travelled_Source_Distance)* (t/ (Total_Process_Time ))+x0
Source_Location= (t/ (60))+x0
Inputing the Formulas into ANSYS
Go to expression insert.
Assign the used constants to the agreed values, noting that you need to define its units in brackets.
Add the described formulas and adding their.
You can plot the previous inputed equation against the time function, this would verfiy for you if the inputed formula is working and no bug issues will occur later.
Tried to add the link to the
source term link coordinates which turned out unfortunately not possible, this
means that a code might have to written then read into ANSYS-CFX in order to
conduct what is required. Which will take me some time to
get around, any suggestion would be very much appreciated.
Unless otherwise noted, all content on this site is @Copyright by Ahmed Al Makky 2012-2015 - http://cfd2012.com