-
-
March 5, 2020 at 7:27 pm
Kasambila
SubscriberHi friends,
so I have a fairly simple setup: I have 3 bottom inlets that let hot water (370 Kelvin) flow into colder water (280 Kelvin).
Currently I have the velocity magnitude set to 0.3 m/s but now I would like to make it time dependent.
As a first step I simply want to set the velocity magnitude of the inlets to equal the time in s.
How would I go on about doing that. I already looked in the users guide but honestly couldn't really find anything and google was of no help either.
How do I reference t (in seconds) in the simulation?
The expression should basically look like this: "t [m s^-1]" but that results in an error.
Can anyone help me out?
Edit. So in the end I would like to make a velocity magnitude that appears somewhat random. So that the inlet always keeps changing its velocity every time step; maybe between 0 - 1 m/s
-
March 5, 2020 at 7:41 pm
-
March 5, 2020 at 8:05 pm
Karthik Remella
AdministratorCould you share a screenshot of your formula?
Thank you.
-
March 5, 2020 at 8:46 pm
Kasambila
SubscriberThank you very much, it seems to work.
after 67 time steps of 0.1 seconds I get a "floating point exception" and the calculation stops.
I think this maybe has to do with the high values of the velocity magnitude?
Now I would like to introduce a modulo in my calculation, is this possible?
The basic idea being that I simply can us velocity magnitude = t(in s)%10.
I've seen that the expression editor offers a "mod(, " but I dont get it to work.
I've tried the following: "mod(1[m s^-2], 10)" but it once again says "Syntax Error: Incomplete expression term"
-
- The topic ‘How to add time dependent velocity expression for magnitude of an inlet?’ is closed to new replies.
- 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
- Centrifugal Fan Analysis for Determination of Characteristic Curve
- Guidance needed for Conjugate Heat Transfer Analysis for a 3s3p Li-ion Battery
- I am doing a corona simulation. But particles are not spreading.
- 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
-
3892
-
1414
-
1256
-
1118
-
1015
© 2025 Copyright ANSYS, Inc. All rights reserved.