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

UDS diffusivity for Joule Heating problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 16, 2018, 13:25
Default UDS diffusivity for Joule Heating problem
  #1
New Member
 
RJC
Join Date: Jun 2015
Posts: 18
Rep Power: 11
redwanamit034 is on a distinguished road
I am trying to simulate resistive heating in fluid. I am writing a UDF for joule heating and also introducing a UDS in the model. The UDS is to solve the current continuity equation.
Grad J = Grad (Sigma Grad Phi ) sigma= electrical conductivity, Phi= Potential, Grad= Gradient
and the UDF is for joule heating: q= j^2/phi
I am not sure what would be the UDS diffusivity? Say my fluid has a electrical conductivity of 0.005 S/m, then what should be the UDS diffusivity here.

Also, how do I define my boundary condition? My boundary condition would be an applied current density of 1e7 A/m2. How do I define that?
redwanamit034 is offline   Reply With Quote

Old   February 25, 2018, 22:21
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
Quote:
Originally Posted by redwanamit034 View Post
I am trying to simulate resistive heating in fluid. I am writing a UDF for joule heating and also introducing a UDS in the model. The UDS is to solve the current continuity equation.
Grad J = Grad (Sigma Grad Phi ) sigma= electrical conductivity, Phi= Potential, Grad= Gradient
and the UDF is for joule heating: q= j^2/phi
I am not sure what would be the UDS diffusivity? Say my fluid has a electrical conductivity of 0.005 S/m, then what should be the UDS diffusivity here.

Also, how do I define my boundary condition? My boundary condition would be an applied current density of 1e7 A/m2. How do I define that?
From my point of view:
1. your UDS diffusivity is the same as electrical conductivity, you put it as material property.
2. you can apply current density as source. So you need to write UDF script for that
3. as boundary conditions I think you should define inlet Phi (potential) value

By the way, fluent has built-in electric potential model. You may try to find how to use in in manuals ANSYS Fluent User's Guide Chapter 28: Modeling Electric Potential Field
On the other hand, you may find information regarding fluent implementation of single potential battery model in ANSYS Fluent Advanced Add-On Modules file
Look into Part II Chapter 2: Single-Potential Empirical Battery Model

Best regards
AlexanderZ is offline   Reply With Quote

Old   December 23, 2022, 07:43
Default what if the current density has to be set to boundary consition
  #3
New Member
 
zhubin
Join Date: Dec 2022
Posts: 8
Rep Power: 4
zhu-jsut is on a distinguished road
Quote:
Originally Posted by AlexanderZ View Post
From my point of view:
1. your UDS diffusivity is the same as electrical conductivity, you put it as material property.
2. you can apply current density as source. So you need to write UDF script for that
3. as boundary conditions I think you should define inlet Phi (potential) value

By the way, fluent has built-in electric potential model. You may try to find how to use in in manuals ANSYS Fluent User's Guide Chapter 28: Modeling Electric Potential Field
On the other hand, you may find information regarding fluent implementation of single potential battery model in ANSYS Fluent Advanced Add-On Modules file
Look into Part II Chapter 2: Single-Potential Empirical Battery Model

Best regards
I have conducted a similar simulation with low voltage and high current density, to obtain the flow field under self induced Lorentz force. The total current is determined and varies at the boundary.

As you mentioned, in the UDS function electric potential, a potential value can be set as boundary condition. I have solved the electric potential problem, but still want to add the variation of current density on the boundary.

Do you have any advice? thanks a lot

just set the specified flux of zone uds boundary value using udf?
zhu-jsut is offline   Reply With Quote

Old   December 26, 2022, 04:38
Default
  #4
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
as far as I understand at the same boundary you may specify scalar value (potential) or flux (current density).
You should choose one of them
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Reply

Tags
diffusivity, 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
UDS diffusivity problem manar FLUENT 1 March 5, 2017 04:41
Mass diffusivity problem chuan820316 FLUENT 0 February 23, 2017 04:52
UDS Diffusivity in porous media pmtgt Fluent UDF and Scheme Programming 2 February 13, 2014 07:21
uds in multiphase problem chenxizh FLUENT 0 March 19, 2012 04:51
UDS diffusivity Ari FLUENT 0 October 5, 2004 14:51


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