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

Apply new Equation as UDS in UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 21, 2023, 12:50
Default Apply new Equation as UDS in UDF
  #1
New Member
 
Hesam
Join Date: Jan 2023
Posts: 2
Rep Power: 0
hesamb is on a distinguished road
Hi everyone,

I want to apply an equation as follows:
∂/∂x (n_i φ_i u)+∂/∂y (n_i φ_i v)-∂/∂x (λ_i (∂φ_i)/∂x)-∂/∂y (λ_i (∂φ_i)/∂y)=S_φi

Here n_i is atom density which is different from density. I want to solve this equation beside momentum, continuity, and energy equation.

Unfortunately, Fluent considers ρ instead of n_i.
How can I solve this problems?

Thanks,
Hesam
Attached Images
File Type: jpg Capture.JPG (16.0 KB, 10 views)
hesamb is offline   Reply With Quote

Reply


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 of flux function in the UDS equation Zhao Weijie FLUENT 0 September 9, 2019 08:41
How to apply own heat transfer coefficients by UDF? h0rst Fluent UDF and Scheme Programming 31 March 28, 2017 16:59
solve an implicit equation in UDF Rui_27 Fluent UDF and Scheme Programming 0 September 8, 2014 11:12
Inlet won't apply UDF and has temperature at 0K! tccruise Fluent UDF and Scheme Programming 2 September 14, 2012 07:08
Swtich on or of the resolution of an equation in UDF pifou74 FLUENT 0 September 29, 2009 17:02


All times are GMT -4. The time now is 14:39.