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

Basic UDF examples

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 22, 2023, 19:47
Default Basic UDF examples
  #1
Senior Member
 
Brett
Join Date: May 2013
Posts: 212
Rep Power: 14
Bdew8556 is on a distinguished road
Hey all,

After many years of using CFX I'm back using Fluent.
I'm working on a model of an aircraft with an engine.

Ive got the following BCs for my Engine

Engine Inlet (so CFD/domain outlet)
Pressure BC

Engine Outlet (again, so domain inlet)
Mass flow rate BC

I'm hoping to write a UDF that reads in the value I set for the Engine Outlet mdot, then adjusts the Engine Inlet Pressure to match the Engine Outlet mdot minus fuel.

I think this is somewhat simple but I'm a complete novice with UDFs.

Any thoughts?
Bdew8556 is offline   Reply With Quote

Old   January 30, 2023, 17:32
Default
  #2
Senior Member
 
Brett
Join Date: May 2013
Posts: 212
Rep Power: 14
Bdew8556 is on a distinguished road
Could you perhaps point me to some of them?
Bdew8556 is offline   Reply With Quote

Old   February 1, 2023, 07:34
Default
  #3
New Member
 
Kirk d. Sutton
Join Date: Feb 2023
Posts: 1
Rep Power: 0
KirkSutton is on a distinguished road
I'm using Fluent again after using CFX for a very long time.
I'm developing a model of an engine-powered aeroplane.

The following BCs are available for my engine.

Engine Inlet Pressure (so CFD/domain Outlet) BC

Engine Exit (again, so domain inlet)
BC mass flow rate

A UDF that reads the value I specify for the Engine Outlet mdot and then modifies the Engine Inlet Pressure to match the Engine Outlet mdot less fuel is what I'm aiming to create.

I believe this to be quite straightforward, but I have no experience with UDFs.
KirkSutton is offline   Reply With Quote

Reply

Tags
fluent - udf, programming, 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
can anyone help me about the udf of dynamic contact angle in FLUENT? Albert Lee FLUENT 0 July 1, 2018 09:21
Mass Source Term UDF, Basic Gomaa Fluent UDF and Scheme Programming 0 April 15, 2018 01:13
basic question about defining time and time period in udf raminostadi Fluent UDF and Scheme Programming 0 November 30, 2016 04:31
Dynamic mesh examples using Fluent 6.1 and Udf RAMESH K FLUENT 2 July 22, 2010 23:47
need some basic help with fluent udf aarti sekaran FLUENT 8 February 12, 2008 01:57


All times are GMT -4. The time now is 12:18.