|August 9, 2010, 03:03||
Source Term for Joule Heating
Join Date: Aug 2010
Posts: 5Rep Power: 8
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.
|August 9, 2010, 03:49||
Join Date: May 2009
Posts: 1,203Rep Power: 22
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).
|Thread||Thread Starter||Forum||Replies||Last Post|
|momentum source term||zwdi||FLUENT||13||December 5, 2013 18:58|
|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|