CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   fvOptions doesn't work in solids (https://www.cfd-online.com/Forums/openfoam-solving/153992-fvoptions-doesnt-work-solids.html)

Cartuns11 June 8, 2015 09:46

fvOptions doesn't work in solids
 
Hi,

I have been working on a thermal simulation, and I need to define constant heat (W or W/m^3) inside a solid. I'm using fvOptions, I have followed the examples from others posts..... And, when I have defined a solid, fvOptions hasn't worked but when I have defined a fluid, it has worked correctly. Why?.... I don't know. May be, the problem would be a error code.... I'm using openfoam 2.3.0.

{
type scalarSemiImplicitSource;
active on;
selectMode all;

scalarSemiImplicitSourceCoeffs
{
volumeMode specific;
injectionRateSuSp
{
h (5e+09 0);
}
}
}


could anyone help me?

greetings

loook June 10, 2015 04:02

Hi all,

I confirm, it does not work in solid. I tried to do this by adding source directly to the equation for solid in chtMultiRegionSimpleFoam, but then temperature rises to infinity.

regards
LK

Cartuns11 June 12, 2015 05:59

hi loook,

I've achieved that heat source in solid works, but no how I want....
It works when I use chtMultiRegionFoam (no steadyState) and it doesn't work with chtMultiRegionSimpleFoam (steadyState).... I don't understand it and don't know why.

My heat source of fvOptions is a semiImplicitSource.

does anyone know the answer?

Thanks.

loook June 15, 2015 04:28

Hi Cartuns11

I have managed to make it work using openFoam 2.4. I am using chtMultiRegionSimpleFoam with following fvoptions
Quote:

heatSource
{
type scalarSemiImplicitSource;
active on;
timeStart 0.;
duration 1e6;
selectionMode all;

scalarSemiImplicitSourceCoeffs
{
// volumeMode absolute; // Values are given as <quantity>
volumeMode specific; // Values are given as <quantity>/m3

injectionRateSuSp // Semi-implicit source term S(x) = S_u + S_p x
{
h (6.2e8 0);
}
}
}
Everything is working fine...

Cartuns11 June 15, 2015 05:03

Thanks!
I'll do it!

Cartuns11 June 17, 2015 04:02

I've done it, and now, the heatsource (fvOptions) works inside solids.

Thanks!


All times are GMT -4. The time now is 23:37.