|
[Sponsors] |
November 24, 2011, 11:02 |
heat source in solid
|
#1 |
New Member
Join Date: Nov 2011
Posts: 2
Rep Power: 0 |
Hello there,
I'm trying to simulate the heat transfer in a piece of metal, which is heated by an electric current. I already got a little bit familiar with laplacianFoam, is there some way to model a heat source inside of it? Or do I have to use a different solver? Thanks a lot! |
|
November 25, 2011, 02:34 |
heat source in laplacianFoam
|
#2 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
you can model heat source! just by add a source term to the laplacianFoam equation
in creatFields.H Code:
volScalarField q ( IOobject ( "q", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE ), mesh ); Code:
fvm::ddt(T) - fvm::laplacian(DT, T) - q then in your case study in folder zero you should add a file name "q" you can apply different value from uniform or non-uniform heat source for making the initial non uniform heat source use "setFields" or "funkySetFields" for install "funkySetField", look at here: http://openfoamwiki.net/index.php/Co...funkySetFields |
|
November 25, 2011, 09:19 |
|
#3 |
New Member
Join Date: Nov 2011
Posts: 2
Rep Power: 0 |
Thanks a lot!
This approach saves me a lot of time! |
|
Tags |
heat source, heat transfer, laplacian, solid objects |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to load the heat source to wall | david yang | Main CFD Forum | 1 | October 12, 2009 14:34 |
[Gmsh] Compiling gmshFoam with OpenFOAM-1.5 | BlGene | OpenFOAM Meshing & Mesh Conversion | 10 | August 6, 2009 05:26 |
Convective Heat Transfer - Heat Exchanger | Mark | CFX | 6 | November 15, 2004 16:55 |
UDFs for Scalar Eqn - Fluid/Solid HT | Greg Perkins | FLUENT | 0 | October 14, 2000 00:03 |
UDFs for Scalar Eqn - Fluid/Solid HT | Greg Perkins | FLUENT | 0 | October 11, 2000 04:43 |