CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Source Term for Joule Heating

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   August 9, 2010, 03:03
Default Source Term for Joule Heating
New Member
Join Date: Aug 2010
Posts: 5
Rep Power: 9
TomStarke is on a distinguished road
Sponsored Links

I am currently setting up a simulation for Joule heating. So far I have produced a field of the electrical potential V using the laplacian solver. I guess the next step would be to map this field to a simulation that solves the heat equation.

I guess, a solution would be to add a source term to the laplacian solver of the form |grad V|^2 / rho, (rho is the resistivity and a scalar field variable), and then map the potential field V to that and solve.

Here my question: how do I modify the solver equation to include the source term |grad V|^2 / rho?

I guess it's not too tricky but I don't know how to implement the square.

Thanks for your help.
TomStarke is offline   Reply With Quote
Sponsored Links

Old   August 9, 2010, 03:49
Senior Member
akidess's Avatar
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,251
Rep Power: 23
akidess will become famous soon enough
I guess the sqr() function is what you are looking for? The programmers guide has a good overview of functions like that in section 1.4.1 / P-23ff (referring to OF1.5).
akidess is offline   Reply With Quote

Old   August 9, 2010, 19:13
New Member
Join Date: Aug 2010
Posts: 5
Rep Power: 9
TomStarke is on a distinguished road
Thanks! I will chase that up.

TomStarke is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
momentum source term zwdi FLUENT 14 June 27, 2017 15:40
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
UDF Scalar Code: HT 1 Greg Perkins FLUENT 8 October 20, 2000 12:40
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 11, 2000 03:43

Sponsored Links

All times are GMT -4. The time now is 04:28.