CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Extracting flow variables inside domain in UDF

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

LinkBack Thread Tools Search this Thread Display Modes
Old   October 26, 2019, 02:40
Smile Extracting flow variables inside domain in UDF
Join Date: Jun 2016
Posts: 44
Rep Power: 5
Abhinand is on a distinguished road
Hello all,

I have a question.
I am doing a simulation of a turbulent boundary layer on a flat plate.

I want to extract values from a specific location from the inlet and do some calculations and feed it back to the flow.

I tried getting the values from the outlet, since its easy to get the thread id of the outlet
Can you please suggest some ways to get the same flow parameters at a specific location from the inlet which is not the outlet Boundary?

My domain is 100x70mm (2D rectangular domain)
at x =0 inlet
at x= 100 outlet
I can get thread id using lookup_thread command of these since they are boundaries of the domain

How do I get the thread id for a location at x=45mm?

Thank you all
Abhinand is offline   Reply With Quote


define macro, macros, thread id, udf code

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
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21
Closed Domain Buoyancy Flow Problem Madhatter92 CFX 6 June 20, 2016 22:05
Monte Carlo Simulation: H-Energy is not convergating & high Incident Radiation volleyHC CFX 5 April 3, 2016 06:41
[DesignModeler] Flow Domain of DesignModeler swiss_zhang ANSYS Meshing & Geometry 0 June 9, 2011 08:13
UDF for extracting vorticity of flow Endee FLUENT 0 September 14, 2005 14:48

All times are GMT -4. The time now is 09:38.