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

UDF to calculate integral of variable over a surface

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 30, 2023, 04:51
Default UDF to calculate integral of variable over a surface
  #1
New Member
 
Jad Diab
Join Date: Apr 2022
Posts: 14
Rep Power: 4
jdiab is on a distinguished road
Dear all,

I am currently calculating an intermediate variable using an UDF (the current density j)

I want to find the current "I" at a midplane between two surfaces.

I being the integral of "j", does anyone know how I can calculate it in a UDF? If I do a surface integral it will integrate the current density over all the plane surface, and I only have current densities over a small portion of the plane

Thank you
jdiab is offline   Reply With Quote

Reply

Tags
ansys, cfx, fluent, udf, uds


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
How to calculate area of particular surface through UDF? Silence Fluent UDF and Scheme Programming 10 May 25, 2021 03:18
Selecting mixture of species as "mass-flow-inlet" on a surface using UDF Bharadwaj B S Fluent UDF and Scheme Programming 0 April 7, 2015 08:09
UDF for time based variable to calculate velocity longhuandu Fluent UDF and Scheme Programming 1 January 21, 2013 06:38
emag beta feature: charge density charlotte CFX 4 March 22, 2011 09:14
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 20:09


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