|
[Sponsors] |
Understanding about updateCoeffs() in solidDisplacementFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 30, 2014, 06:11 |
Understanding about updateCoeffs() in solidDisplacementFoam
|
#1 |
Member
Anil Kunwar
Join Date: Jun 2013
Posts: 64
Rep Power: 11 |
Hi,
In solidDisplacementFoam solver,at tractionDisplacementFvPatchVectorField.C, there is a following piece of code for updateCoeffs(). Code:
void tractionDisplacementFvPatchVectorField::updateCoeffs() { ... gradient() = ( (traction_ - pressure_*n)/rho + twoMuLambda*fvPatchField<vector>::snGrad() - (n & sigmaD) )/twoMuLambda; ... fixedGradientFvPatchVectorField::updateCoeffs(); } Code:
void tractionDisplacementFvPatchVectorField::updateCoeffs() { ... gradient() = ( (traction_ - pressure_*n)/rho.value() - (n & (mu.value()*gradU.T() - (mu + lambda).value()*gradU)) - n*tr(gradU)*lambda.value() )/(2.0*mu + lambda).value(); fixedGradientFvPatchVectorField::updateCoeffs(); } 2. Similarly, the meaning of gradU.T(). 3. Do they convert a scalar to a matrix of given size? 4. Is there a layman way to understand the process of coefficients being updated? Yours Anil Kunwar |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
TimeVaryingMappedFixedValue | irishdave | OpenFOAM Running, Solving & CFD | 32 | June 16, 2021 06:55 |
Purposes of updateCoeffs, initEvaluate and evaluate....? | philippose | OpenFOAM Programming & Development | 9 | September 29, 2020 05:09 |
updateCoeffs() and evaluate() | lixx | OpenFOAM Programming & Development | 11 | August 12, 2020 15:41 |
Coupling of OpenFOAM solvers | Annier | OpenFOAM Running, Solving & CFD | 1 | January 5, 2015 10:50 |
TimeVaryingMappedFixedValue for Direct Numerical Simulation inlet | johndeas | OpenFOAM | 5 | May 21, 2014 07:11 |