-
-
March 3, 2021 at 1:39 pm
AmirB
SubscriberHello!nI want to create a variable that depends on itself in the previous time step. My variable is the concentration surface C(t+dt)= C(t)*(1-a*dt). Can anyone help me, please?nThanks in advance!n -
March 5, 2021 at 12:54 am
Surya Deb
Ansys EmployeeHello, nI think you can do this in 2 different ways. n1st technique: Create an additional variable and store the value from previous time step. You can then use the Algebraic Equation for this AV.n You can create an expression to calculate the previous time step value like : prevTemp = Temperature -(Temperature. Time Derivative*dtstep). Check the link below to get more information as well. https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v211/en/cfx_ref/i1305073.html?q=time%20derivative%20celnn2nd technique: The other possible way could be to make use of Arithmetic Sum. You can create a monitor point and monitor the current value as well as the Arithmetic sum for the last 2 time steps. Then you can define an expression using probe functionality to subtract the 2 values to get your previous time step value. The above link will provide information on how to use probe CEL as well.nI hope this helps.nRegards,nSuryan -
March 7, 2021 at 12:53 pm
AmirB
SubscriberHello Surya!nThanks for your response it helps me. I followed the first technique, but I had a little problem, I can not find how to initialize my additional variable. Do you have any idea how I can initialize the additional variable, please?nBest regardsnAmirn -
October 22, 2023 at 1:15 pm
zhanghao zhang
SubscriberHello,could you tell me how to get flow rate at previous time step for use CEL in cfx?
I have completed the previous Pressure,but the flow rate I don't know.
Thank you
-
Viewing 3 reply threads
- The topic ‘Variable at a previous time step for use in a CEL in CFX’ is closed to new replies.
Innovation Space
Trending discussions
- air flow in and out of computer case
- Varying Bond model parameters to mimic soil particle cohesion/stiction
- Eroded Mass due to Erosion of Soil Particles by Fluids
- I am doing a corona simulation. But particles are not spreading.
- Centrifugal Fan Analysis for Determination of Characteristic Curve
- Guidance needed for Conjugate Heat Transfer Analysis for a 3s3p Li-ion Battery
- Issue to compile a UDF in ANSYS Fluent
- JACOBI Convergence Issue in ANSYS AQWA
- affinity not set
- Resuming SAG Mill Simulation with New Particle Batch in Rocky
Top Contributors
-
4107
-
1487
-
1318
-
1156
-
1021
Top Rated Tags
© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.