|
[Sponsors] |
bug in solidDisplacementFoam and other structural codes |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 4, 2013, 11:48 |
bug in solidDisplacementFoam and other structural codes
|
#1 |
Senior Member
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21 |
Dear Foamers, after inspecting solvers like solidDisplacementFoam (and similar) i found, that increase of pressure on surface leads to expansion of material!
This error have roots in patch description: surface normal pressure is added to traction (but it must be subtracted), let's see to tractionDisplacementFvPatchVectorField.C Code:
gradient() = ( (traction_ + pressure_*n)/rho + twoMuLambda*fvPatchField<vector>::snGrad() - (n & sigmaD) )/twoMuLambda; Code:
gradient() = ( (traction_ - pressure_*n)/rho + twoMuLambda*fvPatchField<vector>::snGrad() - (n & sigmaD) )/twoMuLambda; ---- And of course, excuse me my English |
|
|
|