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 insert a define_property (density)in a define_source

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By AlexanderZ

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   November 17, 2022, 15:44
Question how to insert a define_property (density)in a define_source
  #1
New Member
 
Felipe Benitez Hernandez
Join Date: Oct 2022
Posts: 2
Rep Power: 0
felipe2308 is on a distinguished road
Hello everyone.
I am currently working on a porous zone problem. I want to ask for help on how to write a UDF for an energy source term that depends on a density that is also calculated with a UDF.
This depends on a temperature change having a reference temperature of 270 k and using a T (c,t) and the passage of time (t)
The function would look like this:
source=rho*CP* ∆T/∆t

I would greatly appreciate your help. I am new to C programming language and creating UDFs
felipe2308 is offline   Reply With Quote

 


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
Insert particle tracking Dshing CFX 2 May 20, 2019 03:57
[Other] How to Create and mesh a pipe with a porous tube insert mizzou OpenFOAM Meshing & Mesh Conversion 0 June 6, 2017 22:38
Insert Points in CFD-Post Supersonic ANSYS 3 August 26, 2016 01:45
3D Insert modelling in Mold Flow Dan Rößler Main CFD Forum 0 December 20, 2005 06:37


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