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

SemiImplicitSource injection rate is per timestep?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 31, 2014, 11:45
Default SemiImplicitSource injection rate is per timestep?
  #1
Senior Member
 
Derek Mitchell
Join Date: Mar 2014
Location: UK, Reading
Posts: 172
Rep Power: 14
derekm is on a distinguished road
When using SemiImplicitSource in FVoptions on p, li { white-space: pre-wrap; } chtMultiRegionSimpleFoam solver with field h, I became aware its effect was dependent on the timestep length.
e.g.

Code:
    scalarSemiImplicitSourceCoeffs
        {
            volumeMode      specific;
            injectionRateSuSp
            {
                h           (  20000 0 ); // 2e4 
            }
        }
injects 2E4 joules per m3 per deltaT thus if you double the deltaT you will halve the Watts per m3

Please can someone confirm that this is the correct interpretation of the solveSolid.h and the resulting action is the intended one.

Code:
{
    for (int nonOrth=0; nonOrth<=nNonOrthCorr; nonOrth++)
    {
        fvScalarMatrix hEqn
        (
            (
                thermo.isotropic()
                ? -fvm::laplacian(betav*thermo.alpha(), h, "laplacian(alpha,h)")
                : -fvm::laplacian(betav*taniAlpha(), h, "laplacian(alpha,h)")
            )
          ==
            fvOptions(rho, h)
        );

        hEqn.relax();

        fvOptions.constrain(hEqn);

        hEqn.solve();

        fvOptions.correct(h);
    }
}

thermo.correct();

Info<< "Min/max T:" << min(thermo.T()) << ' ' << max(thermo.T()) << endl;
__________________
A CHEERING BAND OF FRIENDLY ELVES CARRY THE CONQUERING ADVENTURER OFF INTO THE SUNSET
derekm is offline   Reply With Quote

Old   January 1, 2015, 11:46
Default
  #2
Senior Member
 
Derek Mitchell
Join Date: Mar 2014
Location: UK, Reading
Posts: 172
Rep Power: 14
derekm is on a distinguished road
ignore the above ... it turns out to be slow convergence in the solid regions
now at least partially fixed by changing nNonorthogonalCorrectors
and relaxationFactors in fvSolutions.


__________________
A CHEERING BAND OF FRIENDLY ELVES CARRY THE CONQUERING ADVENTURER OFF INTO THE SUNSET
derekm is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Particle Injection Mass Flow Rate and Position leonozx FLUENT 3 March 9, 2018 09:58
Injection Rate JoshS. AVL FIRE 11 March 5, 2015 03:28
injection problem Mark New FLUENT 0 August 4, 2013 01:30
Dpm injection mass flow rate diamondx FLUENT 0 November 22, 2012 13:04
DPM injection mass flow rate kingpots ANSYS 0 November 22, 2012 11:12


All times are GMT -4. The time now is 21:48.