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

UDf current density integration

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   October 23, 2019, 09:41
Default UDf current density integration
  #1
New Member
 
Domagoj
Join Date: Oct 2019
Posts: 10
Rep Power: 6
Domagoj is on a distinguished road
Hello,

i need to integrate current density in my axisymmetric Fluent model in order to obtain self-induced azimuthal magnetic field (Ampere circuital law) - see attached picture.

Z is symmetry axis, r is radial distance.

How to write UDF for this problem?

Is it possible to loop cells for various z=const from r=0 to the right boundary while replacing integral with sum of finite values calculated in cell center?

Any suggestions?

Thanks.
Attached Images
File Type: jpg fluent_B_field.jpg (103.4 KB, 50 views)
Domagoj 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
UDF for modifying density of mixture phase during the calculating process sola86 Fluent UDF and Scheme Programming 2 May 28, 2019 09:24
Density UDF Divergence Baden Fluent UDF and Scheme Programming 0 January 11, 2017 15:25
Interpret-Real Gas UDF ndabir Fluent UDF and Scheme Programming 3 November 18, 2015 07:29
How to get the current density using TUI in Fluent PEMFC module? Prince Abraham FLUENT 1 November 2, 2015 11:57
Warning 097- AB Siemens 6 November 15, 2004 04:41


All times are GMT -4. The time now is 08:15.