CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Which solver for temperature (http://www.cfd-online.com/Forums/openfoam-solving/59906-solver-temperature.html)

fred September 25, 2006 02:34

Hi, I would like to know wh
 
Hi,

I would like to know which solver to use with the following case : imagine the sample case of icoFoam, with which you impose a temperature at the top wall and a second different temperature at the bottom.
Many thanks in advance.

Frederic

fred September 25, 2006 08:53

Thanks a lot. I will have a lo
 
Thanks a lot. I will have a look to that case, and the example within those cases.

Regards,

Frédéric

billy September 25, 2006 11:58

I guess you can always add a t
 
I guess you can always add a thermal energy equation to icoFoam and call icoThermalFoam or something. That would be a nice addition.

badri1979 September 25, 2006 14:11

I am guessing you are trying t
 
I am guessing you are trying to solve the RB-convection kind of problems. If yes, I do have a code that solves the problem. Can pass it on iff you desire.

Badri

jens_klostermann October 2, 2006 13:43

Hi Badri, You offering a pi
 
Hi Badri,

You offering a piece of code for RB-convection kind of problems. I would be very interstest in this piece.

Jens

fred November 30, 2006 08:26

Hi Badri, I read your post
 
Hi Badri,

I read your post few days ago. Since I am a new user, could you send me the files fvScheme and fvSolution that correspond to your RB code ? (in the solvers directory, as well as in the working directory)
Many thanks in advance. This is to be sure I am doing the right things.
Regards,

Fred

badri1979 November 30, 2006 11:49

Hi Fred, This is how the fvSc
 
Hi Fred,
This is how the fvScheme and fvSolution looks like. This is really a rudimentary code though but since you are learning, this is a good start.
PS: I think these are the right ones.
--Badri
-------------------PASTED CODE------------------
ddtSchemes
{
default Euler;
}

gradSchemes
{
default Gauss linear;
grad(p) Gauss linear;
}

divSchemes
{
default none;
div(phi,U) Gauss linear;
div(phi,T) Gauss linear;
}

laplacianSchemes
{
default none;
laplacian(Pr,U) Gauss linear corrected;
laplacian(1|A(U),p) Gauss linear corrected;
laplacian(DT,T) Gauss linear corrected;
}

interpolationSchemes
{
default linear;
interpolate(HbyA) linear;
}

snGradSchemes
{
default corrected;
}

fluxRequired
{
default no;
p;
}

------------------fvSolution-------------------
solvers
{
p ICCG 1e-06 0;
U BICCG 1e-05 0;
T BICCG 1e-05 0;
}

PISO
{
nCorrectors 2;
nNonOrthogonalCorrectors 0;
pRefCell 0;
pRefValue 0;
}

fred December 5, 2006 10:56

Hi, Sorry to be so borring,
 
Hi,

Sorry to be so borring, but the temperature is not a parameter that I can set up on a boundary.
In which file is it to declare ?
Thanks in advance,
Fred


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