|
[Sponsors] |
solids4Foam thermoelasticity hotCylinder tutorial with non-linear material |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 19, 2023, 15:54 |
solids4Foam thermoelasticity hotCylinder tutorial with non-linear material
|
#1 |
New Member
Join Date: Oct 2013
Posts: 1
Rep Power: 0 |
First, I would like to express my thanks to everyone who has contributed to solids4Foam, and especially the main developers.
I have been working on a thermal stress model where the material properties are not linear enough to use a single values for Young's modulus and have been trying to see if I can use a piece-wise linear function of stress vs. strain to define the mechanical properties for the thermal mechanical stress model. I was able to install solids4Foam on an Ubuntu 20.04 LTS computer with Foam-Extend-4.1. I copied and successfully ran the thermoelasticity, hotCylinder tutorial, after adding a keyword entry for "sigma0" to the system/fvSchemes dictionary. Next, to find out what "mechanicalLaw" options are available, I edited the constant/mechanicalProperties dictionary: Code:
planeStress no; mechanical ( steel { type thermoMechanicalLaw; rho rho [1 -3 0 0 0 0 0] 7854; alpha alpha [0 0 0 -1 0 0 0] 1e-05; T0 T0 [0 0 0 1 0 0 0] 0; mechanicalLaw { // type linearElastic; type bananas; E E [1 -1 -2 0 0 0 0] 2e+11; nu nu [0 0 0 0 0 0 0] 0.3; } } ); Code:
--> FOAM FATAL IO ERROR: Unknown mechanicalLaw type bananas Valid linearGeometry mechanicalLaws are : 9 ( linearElasticMohrCoulombPlastic linearElastic linearElasticMisesPlastic thermoMechanicalLaw anisotropicBiotElastic linearElasticFromFile viscousHookeanElastic orthotropicLinearElastic poroMechanicalLaw ) Code:
planeStress no; mechanical ( steel { type thermoMechanicalLaw; rho rho [1 -3 0 0 0 0 0] 7854; alpha alpha [0 0 0 -1 0 0 0] 1e-05; T0 T0 [0 0 0 1 0 0 0] 0; /* mechanicalLaw { type linearElastic; E E [1 -1 -2 0 0 0 0] 2e+11; nu nu [0 0 0 0 0 0 0] 0.3; } */ mechanicalLaw { type linearElasticMisesPlastic; rho rho [1 -3 0 0 0 0 0] 7854; E E [1 -1 -2 0 0 0 0] 2e+11; nu nu [0 0 0 0 0 0 0] 0.3; "file|fileName" "$FOAM_CASE/constant/plasticStrainVsYieldStress"; outOfBounds clamp; solvePressureEqn no; } } ); Rerunning solids4Foam then results in a "function not implemented for this mechanical law" error. Code:
Creating the mechanicalModel Selecting mechanical law thermoMechanicalLaw Selecting mechanical law linearElasticMisesPlastic Plasticity is nonlinear Creating analyticalHotCylinder function object Time = 1000 Evolving thermal solid solver Solving coupled energy and displacements equation for T and D setCellDisplacements: reading cellDisplacements --> FOAM FATAL ERROR: Not implemented From function Not yet implemented for this mechanical law in file lnInclude/mechanicalLaw.H at line 506. FOAM aborting |
|
Tags |
solids4foam, thermoelasticity |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error SIGSEGV using VOF and UDF | JERC_UTFSM | Fluent UDF and Scheme Programming | 14 | November 8, 2021 00:17 |
mass flow in is not equal to mass flow out | saii | CFX | 12 | March 19, 2018 06:21 |
error message | cuteapathy | CFX | 14 | March 20, 2012 07:45 |
Constant velocity of the material | Sas | CFX | 15 | July 13, 2010 09:56 |
Two-Phase Buoyant Flow Issue | Miguel Baritto | CFX | 4 | August 31, 2006 13:02 |