Implementation and Validation of Finite Volume C++ Codes for Plane Stress Analysis

Similar documents
Lower bound solutions for bearing capacity of jointed rock

Churilova Maria Saint-Petersburg State Polytechnical University Department of Applied Mathematics

A Simple And Efficient FEM-Implementation Of The Modified Mohr-Coulomb Criterion Clausen, Johan Christian; Damkilde, Lars

FE FORMULATIONS FOR PLASTICITY

A SIMPLE PLASTICITY MODEL FOR PREDICTING TRANSVERSE COMPOSITE RESPONSE AND FAILURE

Nonlinear Static Analysis of Cable Net Structures by Using Newton-Raphson Method

REFINED STRAIN ENERGY OF THE SHELL

ZEEMAN EFFECT: p...(1). Eigenfunction for this Hamiltonian is specified by

Combining Logistic Regression with Kriging for Mapping the Risk of Occurrence of Unexploded Ordnance (UXO)

10 th Jubilee National Congress on Theoretical and Applied Mechanics, Varna September 2005

Implementation of an Isotropic Elastic-Viscoplastic Model for Soft Soils using COMSOL Multiphysics

SHAPE OPTOMIZATION OF H-BEAM FLANGE FOR MAXIMUM PLASTIC ENERGY DISSIPATION

Deformation Effect Simulation and Optimization for Double Front Axle Steering Mechanism

Analysis of cold rolling a more accurate method

Flexible Pipes in Trenches with Stiff Clay Walls

FEM simulation of a crack propagation in a round bar under combined tension and torsion fatigue loading

Keywords: pile, liquefaction, lateral spreading, analysis ABSTRACT

Domain Dynamics in a Ferroelastic Epilayer on a Paraelastic Substrate

8.7 Associated and Non-associated Flow Rules

A General Damage Initiation and Evolution Model (DIEM) in LS-DYNA

Prediction of the Excitation Force Based on the Dynamic Analysis for Flexible Model of a Powertrain

Finite Element Analysis of V-Bending of Polypropylene Using Hydrostatic-Pressure-Dependent Plastic Constitutive Equation*

A PIEZOELECTRIC BERNOULLI-EULER BEAM THEORY CONSIDERING MODERATELY CONDUCTIVE AND INDUCTIVE ELECTRODES

CMSC 425: Lecture 4 Geometry and Geometric Programming

Isogeometric analysis based on scaled boundary finite element method

pp physics, RWTH, WS 2003/04, T.Hebbeker

VIBRATION ANALYSIS OF BEAMS WITH MULTIPLE CONSTRAINED LAYER DAMPING PATCHES

University of North Carolina-Charlotte Department of Electrical and Computer Engineering ECGR 4143/5195 Electrical Machinery Fall 2009

Modelling a Partly Filled Road Tanker during an Emergency Braking

FINITE ELEMENT SIMULATION OF BACKWARD EXTRUSION DIES USING SHRINK FITTED RINGS

MANDATORY APPENDIX 41 ELECTRIC IMMERSION HEATER ELEMENT SUPPORT PLATES

Understanding DPMFoam/MPPICFoam

Optimization of Gear Design and Manufacture. Vilmos SIMON *

Principles of Computed Tomography (CT)

Hydrogen-assisted stress corrosion cracking simulation using the stress-modified fracture strain model

Preliminary Uncertainty Estimation of the Pressure Distortion Coefficient of a Pressure. Balance by FEM Calculations

Estimating Laterally Loaded Pile Response

ANALYTIC APPROXIMATE SOLUTIONS FOR FLUID-FLOW IN THE PRESENCE OF HEAT AND MASS TRANSFER

An-Najah National University Civil Engineering Departemnt. Fluid Mechanics. Chapter [2] Fluid Statics

Numerical and experimental investigation on shot-peening induced deformation. Application to sheet metal forming.

A Special Case Solution to the Perspective 3-Point Problem William J. Wolfe California State University Channel Islands

Numerical Methods for Particle Tracing in Vector Fields

The effect of dynamic bending moments on the ratchetting behavior of stainless steel pressurized piping elbows

Chapter 2 Introduction to the Stiffness (Displacement) Method. The Stiffness (Displacement) Method

On split sample and randomized confidence intervals for binomial proportions

Multivariable Generalized Predictive Scheme for Gas Turbine Control in Combined Cycle Power Plant

Automatic Generation and Integration of Equations of Motion for Linked Mechanical Systems

On the elasticity of transverse isotropic soft tissues (L)

MODEL-BASED MULTIPLE FAULT DETECTION AND ISOLATION FOR NONLINEAR SYSTEMS

Numerical simulation of bird strike in aircraft leading edge structure using a new dynamic failure model

Finite Element Solutions for Geotechnical Engineering

INTRODUCING THE SHEAR-CAP MATERIAL CRITERION TO AN ICE RUBBLE LOAD MODEL

Solved Problems. (a) (b) (c) Figure P4.1 Simple Classification Problems First we draw a line between each set of dark and light data points.

Finite Element Evaluation of J-integral in 3D for Nuclear Grade Graphite Using COMSOL-Multiphysics

Spin Diffusion and Relaxation in a Nonuniform Magnetic Field.

Closed-form solution for the size of plastic zone in an edge-cracked strip

MODELING THE RELIABILITY OF C4ISR SYSTEMS HARDWARE/SOFTWARE COMPONENTS USING AN IMPROVED MARKOV MODEL

Adam Paweł Zaborski. 8 Plasticity. reloading. 1. Bauschinger s effect. 2. unchanged yielding limit. 3. isotropic hardening

Characteristics of Beam-Based Flexure Modules

arxiv: v1 [math-ph] 10 Sep 2010

An Investigation on the Numerical Ill-conditioning of Hybrid State Estimators

Maximum Entropy and the Stress Distribution in Soft Disk Packings Above Jamming

Measurement of cyclone separator

Session 5: Review of Classical Astrodynamics

Uncorrelated Multilinear Principal Component Analysis for Unsupervised Multilinear Subspace Learning

CREEP AND SHRINKAGE EFFECT ON THE DYNAMIC ANALYSIS OF REINFORCED CONCRETE SLAB-AND-BEAM STRUCTURES

Homogeneous and Inhomogeneous Model for Flow and Heat Transfer in Porous Materials as High Temperature Solar Air Receivers

+++ Modeling of Structural-dynamic Systems by UML Statecharts in AnyLogic +++ Modeling of Structural-dynamic Systems by UML Statecharts in AnyLogic

Multi-Operation Multi-Machine Scheduling

Higher order theory for analytic saddle point approximations to the Ρ Ρ and Ρ Ś reflected arrivals at a solid/solid interface

Wolfgang POESSNECKER and Ulrich GROSS*

An equivalent diameter in calculating borehole thermal resistance for spiral coil type GHE

Uniformly best wavenumber approximations by spatial central difference operators: An initial investigation

Analysis of High-Altitude Ionization Gauge Measurements Using the Direct Simulation Monte Carlo Method

State Estimation with ARMarkov Models

RANDOM WALKS AND PERCOLATION: AN ANALYSIS OF CURRENT RESEARCH ON MODELING NATURAL PROCESSES

Preconditioning techniques for Newton s method for the incompressible Navier Stokes equations

Time Domain Calculation of Vortex Induced Vibration of Long-Span Bridges by Using a Reduced-order Modeling Technique

CHAPTER-II Control Charts for Fraction Nonconforming using m-of-m Runs Rules

Journal of Computational and Nonlinear Dynamics JANUARY 2010, Vol. 5 / Copyright 2010 by ASME

Phase Equilibrium Calculations by Equation of State v2

SAMARIS. Draft report

Chapter 1 Fundamentals

Optimal Design of Truss Structures Using a Neutrosophic Number Optimization Model under an Indeterminate Environment

ON THE DEVELOPMENT OF PARAMETER-ROBUST PRECONDITIONERS AND COMMUTATOR ARGUMENTS FOR SOLVING STOKES CONTROL PROBLEMS

Computational models of diamond anvil cell compression

Calculation of gravity due to a vertical cylinder using a spherical harmonic series and numerical integration

For q 0; 1; : : : ; `? 1, we have m 0; 1; : : : ; q? 1. The set fh j(x) : j 0; 1; ; : : : ; `? 1g forms a basis for the tness functions dened on the i

Covariance Matrix Estimation for Reinforcement Learning

ANALYSIS OF ULTRA LOW CYCLE FATIGUE PROBLEMS WITH THE BARCELONA PLASTIC DAMAGE MODEL

Dimensional perturbation theory for Regge poles

Study on Characteristics of Sound Absorption of Underwater Visco-elastic Coated Compound Structures

Pressure-sensitivity Effects on Toughness Measurements of Compact Tension Specimens for Strain-hardening Solids

Estimation of the large covariance matrix with two-step monotone missing data

CFD Modelling of Mass Transfer and Interfacial Phenomena on Single Droplets

The directivity of the forced radiation of sound from panels and openings including the shadow zone

Analysis of Pressure Transient Response for an Injector under Hydraulic Stimulation at the Salak Geothermal Field, Indonesia

1 Properties of Spherical Harmonics

KEY ISSUES IN THE ANALYSIS OF PILES IN LIQUEFYING SOILS

Physical based Schottky barrier diode modeling for THz applications

Transcription:

CST0 191 October, 011, Krabi Imlementation and Validation of Finite Volume C++ Codes for Plane Stress Analysis Chakrit Suvanjumrat and Ekachai Chaichanasiri* Deartment of Mechanical Engineering, Faculty of Engineering, Mahidol University, Nakornathom, Thailand 73170 *Corresonding Author: teecc@mahidol.ac.th, Telehone 66 889138 ext. 6409, Fax. 66 889138 ext. 649 Abstract The interaction between solid and fluid is an imortant and interesting subject for the resent. In general, to simulate the interaction between solid and fluid, finite element method (FEM) and finite volume method (FVM) are used for analysis of solid and fluid resectively. The transformation of results between FVM and FEM has a disadvantage since it takes time to transfer data between FEM and FVM. The individual using FVM for analysis of solid and fluid can avoid transferring data and it is more stable when simulating comlicated roblems. This research resented the FVM codes using C++ to erform a lane stress analysis. The code was imlemented using Oen Source Software that was OenFOAM. The written code was validated with lane stress roblems as the test cases, which comrised the tension of thin rectangular late with and without a circular hole at the center. The results of FVM were comared with the analytical solutions. From the results, the average difference between the FVM results and analytical solutions was less than 1.68%. These results suggested the otential of using FVM for stress analysis and it will be used for analyzing solidfluid interaction. Keywords: Finite volume method, Finite element method, C++, Stress analysis, OenFOAM 1. Introduction The interaction between solid and fluid is an interesting subject for the resent. For examle, a sloshing of liquid in vehicles [1,], an imact of the Tsunami wave on buildings [3]. In general, to simulate the interaction between solid and fluid, finite element method (FEM) and finite volume method (FVM) are used. The FEM is used for analysis of solid and the FVM is used for analysis of fluid. The transformation of results FEM has a disadvantage since it takes time to transfer data between FEM and FVM. The FVM is inherently good at treating comlicated, couled and nonlinear differential equations, widely resent in fluid flows. The individual using FVM for analysis of solid and fluid can avoid transferring data and it is more stable when simulating comlicated roblems. This research resented the FVM codes using C++ to erform a lane stress analysis. The code was imlemented using Oen Source Software that was OenFOAM.

. Materials and Methods.1 Governing Equation The Cauchy s first law of motion for solid body was written in the differential equation, ( D) t CST0 191 October, 011, Krabi (1) where D was the dislacement vector, was the stress tensor and was the body force, resectively. The stress tensor in an isotroic linear elasticity was written as tr ( ) I () 1 ( D D T (3) when ) where I was the identity tensor, and were the Lame s coefficients which could be written relating to the Young s modulus (E) and Poisson s ratio ( ) in lane stress, E (1 ) E ( 1)(1 ) (4) (5) Then Eq. (1) was arranged in the dislacement vector form that ( D) T { D ( D) t tr( D) I} (6) Equation (6) was comleted to use for the governing equation of the solid body deformation. The initial condition consist of the secified distribution of D and at t = 0. D t The boundary conditions could be of the fixed dislacement, fixed traction, fixed ressure and lane of symmetry. The solution of Eq. (1) could be transformed using Eqs. () and (3) to determine strain and stress, resectively.. Finite Volume Discretization The FVM consist of discretization of the time interval and sace. For the steadystate roblems, the time ste was effectively set to infinite. The sace discretization subdivides the satial domain into the of olyhedral control volume (CV). Every internal face was shared by two CVs. A tyical CV with a comutational oint in its centroid was shown in Fig. 1. A sharing face was also marked and the neighboring CV had oint in its cenroid [4]. Equation (6) was exressed in the other form that t ( D) T {( ) D} { ( D) tr( D) I ( ) D} (7) For this research, considering and as constants thus ( tr( D) I) ( D) (8) and ( D) T ( D) (9) Then Eq. (7) was rearranged that ( D) {( ) D} t (10) The discretization of FVM uses the integral form of Eq. (10) over the CV around oint with the volume V. Using the Gauss theorem the following equation was t V ( D) dv t Z Y X S f ( )( D) nds dv (11) V Fig. 1 Tyical control volume system S f f

CST0 191 October, 011, Krabi The volume integral terms were evaluated using the midoint rules [5]. The surface integral terms were slit into the sum of integrals over the cell faces and also evaluated using the midoint rules. The one equation assembled for each CV was a D a D S (1) when and where a a D ( ) S f, (13) d D n ( ) S f (14) n S V F (15) B d was the distance between the midoint and the midoint of neighbor CV (). Thus creating a system of algebric equations A D S (16) where [A] was the sarse matrix with coefficients a on the diagonal and a off the diagonal, [ D ] was the dislacement vector for all CVs..3 Validation of written C++ codes The discretization method described in section. had been imlemented in the Oen Source Software, OenFOAM, using C++ codes. The written code was validated with lane stress roblems as the test cases, which comrised the tension of a thin rectangular late with and without a circular hole at the center and the cross section of the late was uniform. Figure shows the geometry of the rectangular late. According to Timoshenko and Goodier [6], an analytical solution for infinite width late was justified for the finite width late. When the width of the late was not less than four times of the hole diameters, the error for max was less than 6 ercent. Based on Walter and Deborah [7], when the length of the late was longer than d n Fig. Rectangular late subjected to a uniform tension of magnitude T its width, the late could be considered as an infinite length and the effect from both end of the late was negligible. Therefore, the width was 4 m, the length was 8 m and the thickness was 0.001 m. The hole situated at the center of the rectangular late and had a diameter of 1 m. All materials were assumed isotroic linear elastic. The Young s modulus was assumed 10000000 Pa and Poisson s ratio was assumed 0.3. Three cases of a rectangular late subjected to a uniform tension of magnitude T in the x direction were analyzed. The first case was a rectangular late without a hole. The second case was a rectangular late with the hole. The third case was a quarter of a late with the hole. This case was modeled based on symmetry of the late. The magnitude of the tension used for all cases were 10000 Pa distributed uniformly along both sides of the rectangle as shown in Fig.. The late was discretized as shown in Fig. 3. The results of FVM were comared with the analytical solutions for all cases. 3. Results and Discussion 3.1 Rectangular late without the hole In this load case, the late was subjected to a uniform tension of 10000 Pa. Therefore, this was an analytical solution of for this case. The distribution of, and calculated by FVM was shown in Fig. 4.

Fig. 3 Discretized lates for FVM Fig. 4 The distribution of, CST0 191 October, 011, Krabi and for the first case calculated by FVM It could be seen that the stress distributions were slightly difference between the center and the edges of the late. The average values of, and from every center oint of cells were 9999.997, 0.00091 and 0.00116 Pa, resectively. These were due to aroximation error, which was the nature of numerical methods. When comared with the analytical result, it was found that the average difference of from every oint between the FVM and analytical solution was only 0.00003 %. 3. Rectangular late with the hole The analytical solution for this case was based on a late with infinite width [6]. 4 T a T 3a 4a rr 1 1 cos 4 r r r 4 T a T 3a 1 1 cos 4 r r 4 T 3a a r 1 sin 4 r r (17) (18) (19), where a was a radius of a circle, r was a radius from center of the late to any oints on the late and was the angle between the x axis of the late to the radius (Fig. ). The rr, and r could be transformed to xy coordinates by the relation [6] rr cos sin r sin cos (0) sin cos sin cos (1) rr r rr sin cos r cos sin Therefore the analytical solution in terms of, and was [8] 4 a 3 3 a (3) () T 1 cos cos 4 cos 4 4 r r 4 a 1 3 a T cos cos 4 cos 4 4 r r 4 a 1 3 a T sin sin 4 sin 4 4 r r 1 where r x y and = tan y. x (4) (5) Figure 5 shows the distribution of calculated by FVM. As, and

exected, the local high stress was observed around the hole. The, and were comared with analytical solution using 16 oints as shown in Fig. 6. These oints were selected based on radial and angle osition around the hole at r = 0.5, 1, 1.5, m and = 0, 30, 60, 90. The order of oints was arranged by starting from r = 0.5 m to r = m and = 0 to 90. The first oint was the osition r = 0.5 m and = 0. CST0 191 October, 011, Krabi The comarison of the, and were shown in Tables. 1, and 3, resectively. It could be seen that the difference of stresses of oints at the boundary of the hole were higher than the other oints. This effect was received from the curvature of the cells at the boundary. Table. 1 Comarison of analytical solution for the second case FVM (Pa) Analytical (Pa) analytical (%) 1 416.30 330.63 5.91 3413.7 3597.09 5.11 3 16005.10 1564.0.44 4 959.0 6838.3 9.0 5 444.75 4487.64 1.00 6 8934.50 8659.0 3.18 7 13613.00 1787.65 6.45 8 13101.30 1365.01 5.95 9 7638.19 7490.16 1.98 10 10055.60 961.16 4.61 11 11879.80 11380.6 4.39 1 11074.50 10775.73.77 13 8677.30 8460.7.56 14 10184.90 9780.9 4.13 15 1164.90 1079.0 4.99 16 938.54 1038.83 11.0 3.83 Table. Comarison of analytical solution for the second case Fig. 5 The distribution of, and for the second case calculated by FVM 16 4 Fig. 6 s for stress comarison for the second case 1 13 FVM (Pa) Analytical (Pa) analytical (%) 1 9884.64 7781.94 7.0 164.15 877.65 44.04 3 4580.8 3868.89 18.39 4 110.0 174.34 5.05 5 109.9 366.56 70.19 6 014.49 1411.44 4.73 7 331.65 693.4 5.17 8 676.58 886.57 7.7 9 447.73 360.4 4. 10 851.95 755.6 1.80 11 665.9 340.68 95.47 1 806.39 150.56 46.97 13 47.48 88.95 63.51 14 08.17 407.35 48.90 15 107.7 04.51 47.55 16 63.00 988.55 93.63.7

Table. 3 Comarison of analytical solution for the second case FVM (Pa) Analytical (Pa) CST0 191 October, 011, Krabi analytical (%) 1 83.41 136.01 38.67 011.8 311.09 1.97 3 7640.67 6808.15 1.3 4 101. 871.7 17.15 5 374.93 35.57 6.34 6 684.99 54.5 5.60 7 931.07 634.31 5.75 8 195.04 145.9 33.66 9 16.77 118.36 7.10 10 136.09 131.84 5.85 11 839.49 507.70 65.35 1 98.50 67.19 46.60 13 6.50 56.88 9.88 14 764.98 743.48.89 15 31.76 57.37 1.5 16 0.01 3.38 38.18 11.59 3.3 A quarter of the rectangular late with the hole For this case, the distribution of, and calculated by FVM was shown in Fig. 7. The localized high stress could be observed around the hole. The stress distribution attern for this case was similar to Fig. 5. Figure 8 shows the location of oints for stress comarison calculated by FVM and analytical solution. The analytical solution was calculated by the same equation as for the second case. From Tables. 4, 5 and 6, it could be seen that the difference of stresses were high at the boundary of the hole as same as the second case. 4. Conclusion In this research, the FVM that was develoed for comutational fluid dynamics was alied to analyze solid mechanics. The lane stress roblems were used as a test case. The code for the FVM was written using C++ language and imlemented in the Oen Source Software, OenFOAM. The obtained results were corresonded to the analytical solution. For the 1.8 1.6 1.4 1. 1 0.8 0.6 0.4 0. 0 Fig. 7 The distribution of, and for the third case calculated by FVM 16 4 0 0.5 1 1.5.5 3 3.5 4 Fig. 8 s for stress comarison for the third case Table. 4 Comarison of analytical solution for the third case 1 FVM (Pa) 13 Analytical (Pa) analytical (%) 1 388.85 330.63 17.61 3413.45 3597.09 5.11 3 16008.00 1564.0.46 4 94.00 6838.3 8.96 5 4467.10 4487.64 0.46 6 8933.6 8659.0 3.17 7 13613.0 1787.65 6.46 8 13064.00 1365.01 5.65 9 7653.89 7490.16.19 10 10054.90 961.16 4.61 11 11879.60 11380.6 4.38 1 11066.90 10775.73.70 13 8684.08 8460.7.64 14 10184.50 9780.9 4.13 15 1164.40 1079.0 4.99 16 975.68 1038.83 10.66 3.36

Table. 5 Comarison of analytical solution for the third case FVM (Pa) Analytical (Pa) CST0 191 October, 011, Krabi analytical (%) 1 9704.68 7781.94 4.71 170.84 877.65 44.80 3 4581.00 3868.89 18.41 4 109.50 174.34 5.09 5 139.71 366.56 61.89 6 014.19 1411.44 4.70 7 331.60 693.4 5.18 8 663.81 886.57 7.7 9 454.11 360.4 5.99 10 851.15 755.6 1.70 11 665.59 340.68 95.37 1 798.44 150.56 47.49 13 474.94 88.95 64.37 14 07.7 407.35 49.01 15 107.6 04.51 47.55 16 65.77 988.55 93.35.0 Table. 6 Comarison of analytical solution for the third case FVM (Pa) Analytical (Pa) analytical (%) 1 1.79 416.48 48.91 01.40 311.09 1.9 3 7641.70 6808.15 1.4 4 1041.3 871.7 19.46 5 3.35 35.57 34.10 6 686.51 54.5 5.66 7 969.3 634.31 5.81 8 87.58 145.9 39.98 9 8.11 118.36 30.63 10 136.45 131.84 5.8 11 84.49 496.06 66.1 1 50.08 67.19 5.46 13 41.00 56.88 7.9 14 764.77 743.48.86 15 31.7 57.37 1.51 16 87.07 103.47 15.85 3.80 late without the hole, the results were slightly difference from the analytical solution. For the late with a hole, the FVM could cature the localized stress concentration. The quarter of a late with a hole had the results similar to the full late. Therefore, the symmetry model was justified. The overall difference of the stress calculated by FVM from analytical solution was less than 1.68 %. These results suggested the otential of using FVM for stress analysis and it will be used for analyzing solidfluid interaction. 5. References [1] Romero, J.A., Ramírez, O., Fortanell, J.M., Martinez, M. and Lozano, A. (006). Analysis of lateral sloshing forces within road containers with high fill levels, Proceedings of the Institution of Mechanical Engineers, Part D: Journal of Automobile Engineering, vol.0(3),. 3031. [] Kim, H.S. and Lee, Y.S. (008). Otimization design technique for reduction of sloshing by evolutionary methods, Journal of Mechanical Science and Technology, vol.(1),. 533. [3] Thusyanthan, N.I. and Madabhushi, S.P.G. (008). Tsunami wave loading on coastal houses: A model aroach, Proceedings of the Institution of Civil Engineers: Civil Engineering, vol.161(),. 7786. [4] OenFOAM. (009). User Guide Version 1.6, edition, OenCFD Limited, London. [5] Jasak, H. and Weller, H.G. (000). Alication of the finite volume method and unstructured meshes to linear elasticity, International Journal for Numerical Methods in Engineering, vol.48(),. 6787. [6] Timoshenko, S.P. and Goodier, J.N. (198). Theory of Elasticity, 3 rd edition, McGrawHill, London. [7] Walter, D.P. and Deborah, F.P. (008). Peterson's Stress Concentration Factors, 3 rd edition, John Wiley & Sons, Inc., New Jersey. [8] Demirdzic, I. and Muzaferija, S. (1994). Finite volume method for stress analysis in comlex domains, International Journal for Numerical Methods in Engineering, vol.37(1),. 3751 3766.