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

solids4Foam thermoelasticity hotCylinder tutorial with non-linear material

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 19, 2023, 15:54
Default solids4Foam thermoelasticity hotCylinder tutorial with non-linear material
  #1
New Member
 
Join Date: Oct 2013
Posts: 1
Rep Power: 0
cedwilli is on a distinguished road
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;
        }
    }
);
Rerunning solids4Foam resulted in an error for type "bananas" and listed the following options:

Code:
--> FOAM FATAL IO ERROR: 
Unknown mechanicalLaw type bananas

Valid linearGeometry mechanicalLaws are : 

9
(
linearElasticMohrCoulombPlastic
linearElastic
linearElasticMisesPlastic
thermoMechanicalLaw
anisotropicBiotElastic
linearElasticFromFile
viscousHookeanElastic
orthotropicLinearElastic
poroMechanicalLaw
)
Then after substituting "linearElasticMisesPlastic" in place of "bananas" in the "mechanicalProperties" dictionary and copying the format of entries from the elastoplasticity/perforatedPlate tutorial's 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;
            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
Is it possible to run the hotCylinder tutorial with a mechanical law for a material other than "linearElastic?" If so, am I proceeding correctly?
cedwilli is offline   Reply With Quote

Reply

Tags
solids4foam, thermoelasticity


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
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


All times are GMT -4. The time now is 12:31.