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

UDF profile for a fluid flow through a valve

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 2, 2017, 05:52
Unhappy UDF profile for a fluid flow through a valve
  #1
New Member
 
elia petrogalli
Join Date: May 2017
Posts: 1
Rep Power: 0
elia.p is on a distinguished road
Good morning to everybody,

I am doing my master thesis on a semi-active control for a secondary damper for a train and i have to check the quality of the numerical model with a CFD simulation by using Fluent. The model of the damper I created is very simple and is composed by a cylinder divided in 2 chambers separated by a piston on which i have 3 valves controlling the fluid flow from one chamber to the other one.



The flow through the valve must be a linear function of the difference of pressure (dP) between the two chambers: when the dP is less then a certain dPx the valve should be closed, then the flow should increase linearly till a certain value of pressure dPy is reached and then the flow must be constant for increasing pressure (this law simulate the real behavior of the valve, who is regulated by a spring).

First i tried to model the valve with a simple porous jump boundary condition , but in this case i could not reproduce the real behavior, because also for small value of dP i had flow through the valves and by increasing dP indefinitely also the flow increased indefinitely (not good). I think the best way to solve my problem is to use an UDF function which calculates the flow receiving by input the pressures in the two chambers, but i have no idea how to write it, also if i read the fluent guide to uff it is still very unintelligible for me.

I ask your help to write me the very general structure i have to give to this function.

Thank you,
Elia
elia.p is offline   Reply With Quote

Reply

Tags
cylinder, damper, udf, valve

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
UDF for 3d velocity inlet profile in channel flow Thejas4ansys Fluent UDF and Scheme Programming 0 April 1, 2016 15:09
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 06:20
What will be the state or condition in fluid volume when flow is not full? shivasluzz CFX 2 May 17, 2015 02:59
Gate valve flow simulations... nikesh FloEFD, FloWorks & FloTHERM 5 January 28, 2014 01:31
Simulation with UDF for species mass fraction and velocity profile virgy Fluent UDF and Scheme Programming 8 February 7, 2012 04:30


All times are GMT -4. The time now is 08:51.