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

how to apply time-spatial variable profile in fluent?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 27, 2022, 22:51
Default how to apply time-spatial variable profile in fluent?
  #1
New Member
 
Join Date: Oct 2021
Posts: 4
Rep Power: 4
Zhuangz. Zhang is on a distinguished road
Hi,
recently, I am attempting to apply a time-spatial variable profile as an inlet condition in fluent simulation. The case is as follows:
1. the profile should be collected from a previous simulation and is a time-spatial variable profile.
2. This collected profile is applied to a simulation as an inlet condition.

I have read some guidance form website and the help menu in ANSYS but I am still unable to make the simulation successfully. I am wondering whether the two demands mentioned above are achievable? and how to make it into reality?

I hope there is someone can give me some suggestions and Thank in advance.
Zhuangz. Zhang is offline   Reply With Quote

Old   December 28, 2022, 07:56
Default
  #2
Member
 
Odisha
Join Date: Jan 2020
Posts: 59
Rep Power: 6
Siba11 is on a distinguished road
You can use a UDF to generate a time and space-dependent profile. Just write a DEFINE_PROFILE udf and compile it in Fluent. Once compiled, it will be available for use in the inlet boundary conditions.

You can look into the UDF manual to check how to write one.

Cheers!!
Siba11 is offline   Reply With Quote

Old   December 28, 2022, 08:19
Default
  #3
New Member
 
Join Date: Oct 2021
Posts: 4
Rep Power: 4
Zhuangz. Zhang is on a distinguished road
Quote:
Originally Posted by Siba11 View Post
You can use a UDF to generate a time and space-dependent profile. Just write a DEFINE_PROFILE udf and compile it in Fluent. Once compiled, it will be available for use in the inlet boundary conditions.

You can look into the UDF manual to check how to write one.

Cheers!!

Thanks for your suggestions. I have considered UDF before, but the profile depends on previous simulation results, i.e., the results of outlet in a previous are conditions of the inlet in a latter simulation, and there is no specific law of how the condition changes.
Also, I want to simulate about 30s and the time step is around 0.001s which means about 30000 profiles should be record form previous simulation and applied into latter simulation.
is UDF still appliable? I have learnt how to write a UDF but still confuse about it and may you please provide a template of this kind of UDF?
Zhuangz. Zhang is offline   Reply With Quote

Reply

Tags
profile, time-spatial

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
LES, Courant Number, Crash, Sudden Alhasan OpenFOAM Running, Solving & CFD 5 November 22, 2019 02:05
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM Running, Solving & CFD 8 March 28, 2016 11:08
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
dynamic Mesh is faster than MRF???? sharonyue OpenFOAM Running, Solving & CFD 14 August 26, 2013 07:47
plot over time fferroni OpenFOAM Post-Processing 7 June 8, 2012 07:56


All times are GMT -4. The time now is 23:26.