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

what does interface()->correct(DEqn); do?

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 3 Post By bigphil

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 17, 2019, 03:31
Default what does interface()->correct(DEqn); do?
  #1
Senior Member
 
Hojatollah Gholami
Join Date: Jan 2019
Posts: 171
Rep Power: 7
Hgholami is on a distinguished road
Dear Foamer,
in solid solver of fsiFoam
Quote:
if (interface().valid())
{
interface()->correct(DEqn);
}
what does this statement do?

any reporting about solidSolver that explained detail of code?
Quote:
if (interface().valid())
{
interface()->updateDisplacement(pointD_);
interface()->updateDisplacementGradient(gradD_, gradDf_);
}
else
{
volToPoint_.interpolate(D_, pointD_);
gradD_ = fvc::cellLimitedGrad(D_, pointD_, lsCellGrad(), 0);
gradDf_ = fvc::fGrad(D_, pointD_, interpFaceGrad());
}
what does this part?
Hgholami is offline   Reply With Quote

Old   August 21, 2019, 11:12
Default
  #2
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Hi,

These two pieces of code are related to a correction in the discretisation at bi-material interfaces i.e. at internal faces shared by two different materials. At bi-material interfaces, there is a discontinuity in the displacement gradient and this causes problems for the standard discretisation (in particular, the gradient calculation).

This modified discretisation is described in the following paper:
Tukovic, Ivankovic, Karac, 2012, Finite-volume stress analysis in multi-material linear elastic body, International Journal for Numerical Methods in Engineering, 10.1002/nme.4390.

The code itself for the "interface()" class can be found at:
extend-bazaar/FluidSolidInteraction/src/fluidSolidInteraction/solidSolvers/solidModels/materialInterfaces/materialInterface

The subsequent solids4foam code essentially uses the same procedure but a different implementation that aims to be more general i.e. independent of the chosen mechanical law.

Philip
bigphil is offline   Reply With Quote

Reply

Tags
fsifoam, solidsolver


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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 08:38
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 08:30
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 06:15
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 07:28
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 08:00


All times are GMT -4. The time now is 05:41.