-
-
March 5, 2020 at 7:27 pmKasambilaSubscriber
Hi 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 pmKarthik RemellaAdministrator
Could you share a screenshot of your formula?
Thank you.
-
March 5, 2020 at 8:46 pmKasambilaSubscriber
Thank 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.
- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Cyclone (Stairmand) simulation using RSM
- error udf
- Script error Code: 800a000d
- Fluent fails with Intel MPI protocol on 2 nodes
- Diesel with Ammonia/Hydrogen blend combustion
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Encountering Error in Heterogeneous Surface Reaction
-
1191
-
513
-
488
-
225
-
209
© 2024 Copyright ANSYS, Inc. All rights reserved.