CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions > OpenFOAM CC Toolkits for Fluid-Structure Interaction

What is relRes in solid solution?

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By Hgholami

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 22, 2019, 05:13
Default [solids4Foam] What is relRes in solid solution?
  #1
Senior Member
 
Ali Shayegh
Join Date: Oct 2015
Posts: 131
Rep Power: 11
amuzeshi is on a distinguished road
Hello there,
I'm currently on an FSI simulation. Can anyone explain what is relRes in the image?
Where do we specify this?
solids4Foam tutorial tells it has to be specified in solidProperties. A typical solidProperies is shown here, but there is no entry for relRes.
Code:
unsNonLinearGeometryUpdatedLagrangianCoeffs
{
    nCorrectors             100000;
    // Solution tolerance for displacement
    solutionTolerance       2e-06;

    // Alternative solution tolerance for displacement
    alternativeTolerance    9e-06;

    // Material law solution tolerance
    materialTolerance       1e-05;

    // Write frequency for the residuals
    infoFrequency           100;

   // Stabilise hydrostatic pressure field
    stabilisePressure       yes;
}
Attached Images
File Type: png relRes.png (30.9 KB, 14 views)

Last edited by amuzeshi; October 22, 2019 at 10:54.
amuzeshi is offline   Reply With Quote

Old   December 18, 2019, 15:00
Default
  #2
Senior Member
 
Hojatollah Gholami
Join Date: Jan 2019
Posts: 171
Rep Power: 7
Hgholami is on a distinguished road
It seen this report comes from solidModelTemplates.C
Quote:
// Print residual information
if (iCorr == 0)
{
Info<< " Corr, res, relRes, matRes, iters" << endl;
}
else if (iCorr % infoFrequency_ == 0 || converged)
{
Info<< " " << iCorr
<< ", " << solverPerfInitRes
<< ", " << residualvf
<< ", " << materialResidual
<< ", " << solverPerfNIters << endl;

if (residualFilePtr_.valid())
{
residualFilePtr_()
<< solverPerfInitRes << " "
<< residualvf << " "
<< materialResidual
<< endl;
}

if (converged)
{
Info<< endl;
}
}
And residualvf in the mentioned file calulated as:
Quote:
const scalar residualvf =
gMax(mag(vf.internalField() - vf.prevIter().internalField()))/denom;
• res (linear solver residual)
• relRes (relative residual: change of the primitive variable)
• matRes (material residual: for nonlinear material laws)
Ref:Solid mechanics and fluid-solid interaction using the solids4foam toolbox
amuzeshi and pedroavr92 like this.

Last edited by Hgholami; December 27, 2019 at 13:29.
Hgholami 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
Immersed Solid and FSI Pierrm CFX 0 March 26, 2018 06:36
[swak4Foam] mass conservation of solid phase violated when using groovyBC with twoPhaseEulerFoam xpqiu OpenFOAM Community Contributions 8 June 17, 2015 03:08
Multiple Solid Domains - Interfaces Scott CFX 8 July 31, 2008 16:20
CFX4.3 -build analysis form Chie Min CFX 5 July 13, 2001 00:19
Wall functions Abhijit Tilak Main CFD Forum 6 February 5, 1999 02:16


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