CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

if statement expression

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 5, 2021, 04:41
Post if statement expression
  #1
New Member
 
HGT
Join Date: Nov 2021
Posts: 1
Rep Power: 0
JIMhin is on a distinguished road
hi, im a mechanical student and i am very new to ansys.
i would like to know how can i set up my input to inject water at different time.
the project that i am working on has 3 input and 1 output. And the 3 different input has to inject water into a water tank at 3 different time and also stop at different time. i have searched the internet and read about the user defined function, UDF, but i am not familiar with the codes that ansys are using.

For example, i want the input_1 to inject water from 3 to 8 sec, input_2 to inject from 0 to 20 s and input_3 to inject water from 10 to 20s.
how can i do it.

thanks in advance.

problem solved

Last edited by JIMhin; November 5, 2021 at 07:38. Reason: problem solved
JIMhin is offline   Reply With Quote

Reply

Tags
input parameters, udf code


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlet boundary condition in interFoam Andrea_85 OpenFOAM Running, Solving & CFD 51 July 20, 2017 13:31
writing execFlowFunctionObjects immortality OpenFOAM Post-Processing 30 September 15, 2013 06:16
How to install CGNS under windows xp? lzgwhy Main CFD Forum 1 January 11, 2011 18:44
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 06:25
Lift, Drag Vs time chart,calculations Jamesd69climber CFX 8 February 17, 2005 17:23


All times are GMT -4. The time now is 04:20.