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

Negative initial temperature T0 in rhoPimpleFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Fouch

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 28, 2023, 10:34
Default Negative initial temperature T0 in rhoPimpleFoam
  #1
New Member
 
mohammad morovati
Join Date: Mar 2023
Posts: 1
Rep Power: 0
mohammad morovati is on a distinguished road
Hi,


I am trying to simulate a fan inside a canal by rhoPimpleFoam solver.



Fan is rotating by w=104, and I face to negative initial temperature in 3rth part of first iteration.


It would be great appreciated if someone could guide me.

all files are attached
Attached Files
File Type: gz fan.tar.gz (11.0 KB, 3 views)
mohammad morovati is offline   Reply With Quote

Old   March 31, 2023, 10:42
Default
  #2
Member
 
Join Date: Feb 2020
Posts: 79
Rep Power: 6
Fouch is on a distinguished road
Hi,

For compressible cases you have to limit T and U in fvOption (constant directory) :

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v2106                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      fvOptions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

/*viscousDissipation
{
    type            viscousDissipation;
    enabled         true;
}*/

limitT
{
    type       limitTemperature;
    min        230;
    max        400;
    selectionMode all;
}
limitU
{
    type            limitVelocity;
    selectionMode   all;
    max            400;
}
// ************************************************************************* //
This is an example above but you have to adapt the values to your case.

Best regards,
hogsonik likes this.
Fouch is offline   Reply With Quote

Reply

Tags
fan, rhopimplefoam


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
Maximum number of iterations exceeded chtmultiregionsimpleFoam Moncef OpenFOAM Running, Solving & CFD 28 July 13, 2020 15:26
Free surface issues with interDyMFoam for hydroturbine oumnion OpenFOAM Running, Solving & CFD 0 October 6, 2017 15:05
Cannot run the code properly: very large time step continuity error crst15 OpenFOAM Running, Solving & CFD 9 December 14, 2014 19:17
pimpleFoam: turbulence->correct(); is not executed when using residualControl hfs OpenFOAM Running, Solving & CFD 3 October 29, 2013 09:35
SLTS+rhoPisoFoam: what is rDeltaT??? nileshjrane OpenFOAM Running, Solving & CFD 4 February 25, 2013 05:13


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