CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

chtMultiRegionFoam BC

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 19, 2018, 11:03
Default chtMultiRegionFoam BC
  #1
Eko
Member
 
Join Date: Dec 2017
Location: Germany
Posts: 48
Rep Power: 9
Eko is on a distinguished road
Hey guys

I'm currently working on a convection case using the chtMultiRegionFoam solver. Well the case is running with fixed temperature and velocity U=0.
When I change boundary conditions for T and U it's running but the temperature gets negative (it shouldn't do that) and it aborts later on.
The problem is the U file I guess. T seems to work with U=0 but I don't know why it doesn't work with U=5 (even not with U=0,5).
Do you have any suggestions on how to solve this issue?
If you need more information/input let me know and thanks in advance


T

Code:
dimensions      [ 0 0 0 1 0 0 0 ];

internalField   uniform 291.5;

boundaryField
{
    inlet
    {
        type            uniformFixedValue;
        uniformValue    table ( ( 0 291.95 ) ( 3600 290.35 ) ( 7200 290.15 ) ( 10800 289.35 ) ( 14400 288.15 ) ( 18000 287.95 ) ( 21600 289.65 ) ( 25200 293.15 ) ( 28800 297.25 ) ( 32400 301.35 ) ( 36000 302.95 ) ( 39600 303.65 ) ( 43200 303.55 ) ( 46800 303.85 ) ( 50400 304.15 ) ( 54000 305.25 ) ( 57600 305.65 ) ( 61200 304.75 ) ( 64800 304.15 ) ( 68400 303.25 ) ( 72000 300.55 ) ( 75600 299.25 ) ( 79200 298.05 ) ( 82800 296.05 ) ( 86400 294.85 ) );
        value           uniform 291.95;
    }
    outlet
    {
        type            inletOutlet;
        inletValue      $internalField;
        value           $internalField;
    }
    floor
    {
        type            fixedValue;
        value           $internalField;
    }
    ceiling
    {
        type            zeroGradient;
    }
    frontAndBack
    {
        type            zeroGradient;
    }
    Umgebung_to_B1600-12
    {
        type            compressible::turbulentTemperatureCoupledBaffleMixed;
        value           uniform 291.5;
        Tnbr            T;
        kappaMethod     fluidThermo;
    }
    Umgebung_to_Air
    {
        type            compressible::turbulentTemperatureCoupledBaffleMixed;
        value           uniform 291.5;
        Tnbr            T;
        kappaMethod     fluidThermo;
    }
}

U
Code:
dimensions      [ 0 1 -1 0 0 0 0 ];

internalField   uniform ( 5 0 0 );

boundaryField
{
    inlet
    {
        type            fixedValue;
        value           uniform ( 5 0 0 );
    }
    outlet
    {
        type            inletOutlet;
        inletValue      uniform ( 0 0 0 );
        value           uniform ( 5 0 0 );
    }
    floor
    {
        type            noSlip;
    }
    ceiling
    {
        type            fixedValue;
        value           uniform ( 0 0 0 );
    }
    frontAndBack
    {
        type            fixedValue;
        value           uniform ( 0 0 0 );
    }
    Umgebung_to_B1600-12
    {
        type            noSlip;
        value           uniform ( 0 0 0 );
    }
    Umgebung_to_Air
    {
        type            noSlip;
        value           uniform ( 0 0 0 );
    }
}

Works fine with files below

Code:
dimensions      [ 0 0 0 1 0 0 0 ];

internalField   uniform 299;

boundaryField
{
    inlet
    {
        type            zeroGradient;
    }
    outlet
    {
        type            zeroGradient;
    }
    floor
    {
        type            zeroGradient;
    }
    ceiling
    {
        type            zeroGradient;
    }
    frontAndBack
    {
        type            zeroGradient;
    }
    Umgebung_to_B1600-12
    {
        type            compressible::turbulentTemperatureCoupledBaffleMixed;
        value           uniform 299;
        Tnbr            T;
        kappaMethod     fluidThermo;
    }
    Umgebung_to_Air
    {
        type            compressible::turbulentTemperatureCoupledBaffleMixed;
        value           uniform 299;
        Tnbr            T;
        kappaMethod     fluidThermo;
    }
}

Code:
dimensions      [ 0 1 -1 0 0 0 0 ];

internalField   uniform ( 0.01 0 0 );

boundaryField
{
    inlet
    {
        type            noSlip;
    }
    outlet
    {
        type            noSlip;
    }
    floor
    {
        type            noSlip;
    }
    ceiling
    {
        type            noSlip;
    }
    frontAndBack
    {
        type            noSlip;
    }
    Umgebung_to_B1600-12
    {
        type            noSlip;
        value           uniform ( 0 0 0 );
    }
    Umgebung_to_Air
    {
        type            noSlip;
        value           uniform ( 0 0 0 );
    }
}

Last edited by Eko; February 20, 2018 at 05:24. Reason: Added more information
Eko is offline   Reply With Quote

Old   February 19, 2018, 11:43
Default
  #2
Eko
Member
 
Join Date: Dec 2017
Location: Germany
Posts: 48
Rep Power: 9
Eko is on a distinguished road
Maybe to add a little bit more information. This is the error message I get.

Code:
[7] #0  Foam::error::printStack(Foam::Ostream&) at ??:?
[7] #1  Foam::sigFpe::sigHandler(int) at ??:?
[7] #2  ? in "/lib/x86_64-linux-gnu/libc.so.6"
[7] #3  Foam::GAMGSolver::scale(Foam::Field<double>&, Foam::Field<double>&, Foam::lduMatrix const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> cons$
[7] #4  Foam::GAMGSolver::Vcycle(Foam::PtrList<Foam::lduMatrix::smoother> const&, Foam::Field<double>&, Foam::Field<double> const&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&$
[7] #5  Foam::GAMGSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
[7] #6  Foam::fvMatrix<double>::solveSegregated(Foam::dictionary const&) at ??:?
[7] #7  Foam::fvMatrix<double>::solve(Foam::dictionary const&) at ??:?
[7] #8  ? at ??:?
[7] #9  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
[7] #10  ? at ??:?
[cfdserver:14248] *** Process received signal ***
[cfdserver:14248] Signal: Floating point exception (8)
[cfdserver:14248] Signal code:  (-6)
[cfdserver:14248] Failing at address: 0x3ec000037a8
[cfdserver:14248] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x354b0)[0x7f26a0c104b0]
[cfdserver:14248] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7f26a0c10428]
[cfdserver:14248] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x354b0)[0x7f26a0c104b0]
[cfdserver:14248] [ 3] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam10GAMGSolver5scaleERNS_5FieldIdEES3_RKNS_9lduMatrixERKNS_10FieldFieldIS1_dEERKNS_8UPtrListIKNS_17ld$
[cfdserver:14248] [ 4] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam10GAMGSolver6VcycleERKNS_7PtrListINS_9lduMatrix8smootherEEERNS_5FieldIdEERKS8_S9_S9_S9_S9_S9_RNS1_I$
[cfdserver:14248] [ 5] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam10GAMGSolver5solveERNS_5FieldIdEERKS2_h+0x807)[0x7f26a1f14987]
[cfdserver:14248] [ 6] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE15solveSegregatedERKNS_10dictionaryE+0x15b)[0x7f26a40c1bfb]
[cfdserver:14248] [ 7] chtMultiRegionFoam(_ZN4Foam8fvMatrixIdE5solveERKNS_10dictionaryE+0x191)[0x4caf41]
[cfdserver:14248] [ 8] chtMultiRegionFoam[0x442253]
[cfdserver:14248] [ 9] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f26a0bfb830]
[cfdserver:14248] [10] chtMultiRegionFoam[0x447d99]
[cfdserver:14248] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 7 with PID 14248 on node cfdserver exited on signal 8 (Floating point exception).
Eko is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in thermophysical properties (chtMultiRegionFoam) mukut OpenFOAM Pre-Processing 28 November 23, 2021 07:34
Error in chtMultiRegionFoam kirankarki OpenFOAM 6 August 21, 2018 09:00
Simulation of a sample in a furnace w/ chtMultiRegionFoam sergimart7 OpenFOAM Running, Solving & CFD 7 August 12, 2015 07:48
What does this error when use solver chtMultiRegionFoam mean sajad6 OpenFOAM Running, Solving & CFD 7 October 6, 2014 08:38
chtmultiregionFoam alvora OpenFOAM 9 February 23, 2011 04:06


All times are GMT -4. The time now is 12:45.