Friday, October 20, 2023

πŸ’₯πŸ’₯πŸ’₯ How to perform fatique analysis in Ansys Workbench?

 Fatigue analysis is a process of evaluating the durability and reliability of a structure or a component under cyclic loading conditions. It can help to predict the number of cycles or the time to failure due to fatigue damage. Ansys Workbench is a software that can perform fatigue analysis using various methods and tools.

To perform fatigue analysis in Ansys Workbench, you need to follow these general steps:

  • Create or import a geometry model of the structure or component you want to analyze.
  • Define the material properties and assign them to the model.
  • Apply the boundary conditions, such as fixed supports, loads, pressures, temperatures, etc.
  • Mesh the model using appropriate element types and sizes.
  • Choose a fatigue analysis system from the toolbox, such as Fatigue Tool, Random Vibration Fatigue, or Harmonic Response Fatigue.
  • Define the fatigue parameters, such as loading type, fatigue life method, mean stress correction, S-N curve, etc.
  • Solve the analysis and review the results, such as fatigue life, damage, safety factor, etc.

You can find more detailed instructions and examples on how to perform fatigue analysis in Ansys Workbench in these video tutorials:

You can also refer to these web pages for more information and tips:

What is the difference between static and dynamic fatigue analysis?

Fatigue analysis is a process of evaluating the durability and reliability of a structure or a component under cyclic loading conditions. It can help to predict the number of cycles or the time to failure due to fatigue damage. The difference between static and dynamic fatigue analysis is mainly related to the type and frequency of the loading conditions.

Static fatigue analysis is used to calculate the fatigue life of a structure or a component under constant or slowly varying loads, such as dead weight, pressure, or temperature. Static fatigue analysis assumes that the load is applied so slowly that inertia effects and damping can be neglected. Static fatigue analysis can be performed using stress-life (S-N) or strain-life (Ξ΅-N) methods, depending on the material behavior and the stress level.

Dynamic fatigue analysis is used to calculate the fatigue life of a structure or a component under time-varying or cyclic loads, such as impact, vibration, or shock. Dynamic fatigue analysis takes into account the effects of inertia, damping, and frequency on the structural response and the fatigue damage. Dynamic fatigue analysis can be performed using modal superposition, direct integration, or explicit methods, depending on the complexity and nonlinearity of the problem.

You can find more information about static and dynamic fatigue analysis in these web pages:

How do I choose an appropriate S-N curve for my material?

Choosing an appropriate S-N curve for your material depends on several factors, such as the type of material, the loading conditions, the stress ratio, and the available data. Here are some general guidelines to help you select an S-N curve for your material:

  • First, you need to identify the type of material you are using, such as steel, aluminum, titanium, etc. Different materials have different fatigue properties and behavior, and may require different methods to obtain or define their S-N curves.
  • Second, you need to determine the loading conditions that your material will be subjected to, such as constant amplitude, variable amplitude, random vibration, harmonic response, etc. Different loading conditions may affect the fatigue life and damage of your material in different ways, and may require different fatigue analysis systems or tools.
  • Third, you need to specify the stress ratio ® that your material will experience during the loading cycles. The stress ratio is defined as R = S min / S max , where S min is the minimum stress and S max is the maximum stress in the cycle. The stress ratio can range from -1 (fully reversed loading) to 1 (fully compressive loading), and it can affect the shape and slope of the S-N curve.
  • Fourth, you need to find or generate the data points for your S-N curve, either by conducting experimental tests, using existing data from literature or databases, or deriving from material properties or empirical formulas. You can enter or import the data points in a table or a file format, and plot them on a graph to visualize the S-N curve.

Once you have these information and data, you can use Ansys Workbench to assign an S-N curve to your material by following these steps1:

  • In a Fatigue study, add a fatigue event.
  • In the Material dialog, on the Fatigue SN Curves tab, in the Source box do the following:
    • For Interpolate, set the scheme for interpolating alternating stresses against the number of cycles of the S-N curve.
    • Select Define and select a curve from the list. Curves that are already defined have the stress ratio value attached to their names (for example R = -1). Curves that are not defined are tagged as (Not Defined).
    • Select an undefined curve to populate with data. You can define up to 10 S-N curves for different values of stress ratios R to a specific material.
  • In the Table data box, do the following:
    • In the Stress ratio ® box, enter the stress ratio associated with the curve.
    • Set the unit of stress.
    • Populate the curve data by entering Alternating Stress values versus number of cycles to failure due to fatigue, or click File to import data from the Simulation S-N Curve library.
    • Click View to graph the data or Save to save the curve to a data file (*.dat).
  • Type a source of reference for the SN curve data in Source.
  • Click Apply.

You can also use other methods to define an S-N curve for your material, such as deriving from material elastic modulus or using an existing curve from the material database. You can find more information and examples on how to associate S-N curves to a material in these web pages234.

Wednesday, October 18, 2023

πŸ’₯πŸ’₯πŸ’₯ How to define multiflow in Ansys Fluent ?

Multiflow is a term used to describe the flow of multiple phases (solid, liquid, or gas) in a system. In Ansys Fluent, you can define multiflow by choosing one of the available multiphase models, depending on the type and behavior of the phases involved. Some of the multiphase models in Ansys Fluent are:

- Volume of Fluid (VOF) model: This model is suitable for tracking the interface between two or more immiscible fluids, such as water and air. You can use this model to simulate problems such as sloshing tanks, breaking waves, or bubble columns¹²³.

- Eulerian model: This model is suitable for simulating dispersed multiphase flows, such as solid particles in a gas or liquid stream. You can use this model to simulate problems such as fluidized beds, cyclone separators, or pneumatic conveying⁴⁵.

- Mixture model: This model is suitable for simulating dilute multiphase flows, where the phases are well mixed and have similar velocities. You can use this model to simulate problems such as sediment transport, spray drying, or blood flow⁴⁵.


To define multiflow in Ansys Fluent, you need to follow these steps:


- Go to Models > Multiphase and select the desired multiphase model from the drop-down list.

- Specify the number and type of phases in your system.

- Define the properties and interactions of each phase, such as density, viscosity, surface tension, drag force, etc.

- Set the boundary conditions and initial conditions for each phase.

- Solve the problem and visualize the results.


For more details and examples on how to define multiflow in Ansys Fluent, you can watch some of the video tutorials available online¹²³. I hope this helps you with your problem. 😊


Source: Conversation with Bing, 10/18/2023

(1) #ANSYS FLUENT - Multiphase Flow Tutorial - YouTube. https://www.youtube.com/watch?v=TLx8UemITgY.

(2) ANSYS Fluent Tutorial | Multiphase flow in an Inclined Pipe | Two Phase Flow in an Inclined Pipe VOF. https://www.youtube.com/watch?v=22dGJtp0CQY.

(3) Ansys Fluent Tutorial for beginners | Multiphase Flow | Three Phases | Ansys Workbench. https://www.youtube.com/watch?v=QgQTaXuPmbI.

(4) Introduction to Multiphase Flow Modeling using Ansys Fluent | Ansys .... https://www.youtube.com/watch?v=Uwu4QRmRstk.

(5) Multiphase Flow Modeling Using ANSYS FLUENT | LearnCAx. https://www.learncax.com/courses/by-software/multiphase-flow-modeling-using-ansys-fluent-detail.

(6) ANSYS FLUENT 12.0 User's Guide - 7.3.11 Outflow Boundary Conditions - ENEA. https://www.afs.enea.it/project/neptunius/docs/fluent/html/ug/node247.htm.

(7) Ansys Fluent Multiphase Flow Simulation | Ansys Training. https://www.ansys.com/training-center/course-catalog/fluids/ansys-fluent-multiphase-flow-modeling.

(8)http://cfd.ninja/.

(9) https://cfdninja.com/.

(10)https://naviers.xyz/.

(11)https://3dn.ninja/.

(12)https://www.youtube.com/watch?v=gIWqNEAcmsw.

(13) https://www.youtube.com/playlist?list.

(14) https://files.mecht.in.

(15) https://www.instagram.com/mech_tech.90/.

(16) https://www.facebook.com/mechtechpage/.

(17) https://ketiv.com/ava.

(18) https://facebook.com/KETIVTech/.

(19) https://twitter.com/KetivTech.

(20) https://www.linkedin.com/company/keti.

(21) https://ketiv.com/blog/subscribe/.

(22) https://ketiv.com/avaIntroduction. 

How do I choose the right multiphase model for my problem?

Choosing the right multiphase model for your problem depends on several factors, such as:

- The type and behavior of the phases involved (solid, liquid, or gas)

- The volume fraction and distribution of each phase

- The degree of interphase coupling and interaction

- The computational cost and accuracy of the model

(1) ANSYS FLUENT 12.0 Theory Guide - 16. Multiphase Flows - ENEA. https://www.afs.enea.it/project/neptunius/docs/fluent/html/th/node288.htm.

(2) ANSYS FLUENT 12.0 Theory Guide - 16.2 Choosing a General Multiphase Model. https://www.afs.enea.it/project/neptunius/docs/fluent/html/th/node292.htm.

(3) ANSYS FLUENT 12.0 Theory Guide - 16.2.1 Approaches to Multiphase Modeling. https://www.afs.enea.it/project/neptunius/docs/fluent/html/th/node293.htm.

(4) Ansys Fluent Multiphase Flow Simulation | Ansys Training. https://www.ansys.com/training-center/course-catalog/fluids/ansys-fluent-multiphase-flow-modeling.

Sure, I can give you some examples for each multiflow model in Ansys Fluent. Here are some of them:


- Volume of Fluid (VOF) model: This model is suitable for tracking the interface between two or more immiscible fluids, such as water and air. You can use this model to simulate problems such as sloshing tanks, breaking waves, or bubble columns¹²³. For example, you can use the VOF model to simulate the flow of water and air in a 135 degree inclined pipe with a small opening at one face and a large outlet³. You can watch a video tutorial on how to set up and solve this problem using Ansys Fluent [here](^3^).

- Mixture model: This model is suitable for simulating dilute multiphase flows, where the phases are well mixed and have similar velocities. You can use this model to simulate problems such as sediment transport, spray drying, or blood flow⁴⁵. For example, you can use the mixture model to simulate the flow of water, air, and oil in a three-phase separator⁵. You can watch a video tutorial on how to set up and solve this problem using Ansys Fluent [here](^2^).

- Eulerian model: This model is suitable for simulating dispersed multiphase flows, such as solid particles in a gas or liquid stream. You can use this model to simulate problems such as fluidized beds, cyclone separators, or pneumatic conveying⁴⁵. For example, you can use the Eulerian model to simulate the flow of air and coal particles in a coal combustion chamber⁵. You can watch a video tutorial on how to set up and solve this problem using Ansys Fluent [here](^4^).

I hope these examples help you understand the different multiflow models in Ansys Fluent. 😊

Source:

(1) ✅ #ANSYS FLUENT - Multiphase Flow Tutorial. https://www.youtube.com/watch?v=TLx8UemITgY.

(2) Ansys Fluent Tutorial for beginners | Multiphase Flow | Three Phases | Ansys Workbench. https://www.youtube.com/watch?v=QgQTaXuPmbI.

(3) ANSYS Fluent Tutorial | Multiphase flow in an Inclined Pipe | Two Phase Flow in an Inclined Pipe VOF. https://www.youtube.com/watch?v=22dGJtp0CQY.

(4) ANSYS Fluent Tutorial | Multiphase flow in an Inclined Pipe | Two Phase Flow in an Inclined Pipe VOF. https://www.youtube.com/watch?v=22dGJtp0CQY.

(5) Introduction to Multiphase Flow Modeling using Ansys Fluent | Ansys .... https://www.youtube.com/watch?v=Uwu4QRmRstk.

(6) ANSYS FLUENT 12.0 Theory Guide - 16. Multiphase Flows - ENEA. https://www.afs.enea.it/project/neptunius/docs/fluent/html/th/node288.htm.

(7) Ansys Fluent Tutorial for beginners | Multiphase Flow | Three Phases | Ansys Workbench. https://www.youtube.com/watch?v=QgQTaXuPmbI.

(8) Introduction to Multiphase Flow Modeling using Ansys Fluent | Ansys .... https://www.youtube.com/watch?v=Uwu4QRmRstk.

(9) ANSYS FLUENT 12.0 Theory Guide - 16.1.2 Examples of Multiphase ... - ENEA. https://www.afs.enea.it/project/neptunius/docs/fluent/html/th/node291.htm.

What are some limitations of multiphase models?

Some limitations of multiphase models are:

- They require more computational resources and time than single-phase models, especially for complex multiphase flows with strong interphase coupling and interaction¹.

- They may not be available or compatible with some features or solvers in Ansys Fluent, such as the density-based solver, the Reynolds Stress turbulence model, the inviscid flow, the melting and solidification, the streamwise periodic flow, etc²³.

- They may not have exact analytical solutions or reliable interphase laws for some cases, such as non-linear conduction equations, phase change phenomena, or granular flows.

- They may not capture some important physical effects or phenomena, such as phase separation, coalescence and breakup, cavitation, etc.

These limitations may affect the accuracy and validity of the multiphase models for some applications. Therefore, it is important to choose the appropriate model based on the characteristics and behavior of the multiphase flow, and to validate the results with experimental data or other methods.

Source:

(1) 16.4.1 Overview and Limitations of the Mixture Model - ENEA. https://www.afs.enea.it/project/neptunius/docs/fluent/html/th/node309.htm.

(2) 16.5.1 Overview and Limitations of the Eulerian Model - ENEA. https://www.afs.enea.it/project/neptunius/docs/fluent/html/th/node320.htm.

(3) Multiphase Flows: Basic Physics and Engineering Modeling. https://staff.polito.it/pietro.asinari/teaching/NHT_Asinari_Multiphase_v1.5.PDF.

Can you recommend a good book on multiphase flows?

Sure, I can recommend some good books on multiphase flows. Multiphase flows are complex phenomena that involve the interaction of two or more phases (solid, liquid, or gas) in a system. They have many applications in engineering, science, and industry, such as fluidized beds, oil and gas production, nuclear reactors, spray combustion, etc. To understand and model multiphase flows, you need to have a solid background in fluid mechanics, thermodynamics, heat and mass transfer, and numerical methods.

There are many books on multiphase flows available in the market, but some of them are more suitable for beginners, while others are more advanced or specialized. Depending on your level of interest and expertise, you can choose from the following books:

- **Fundamentals of Multiphase Flow** by Christopher E. Brennen¹: This book is a good introduction to the basic concepts and principles of multiphase flow. It covers topics such as single-particle motion, bubble dynamics, cavitation, boiling and condensation, flow patterns, homogeneous flows, sprays, granular flows, drift flux models, system instabilities, and kinematic waves. It also provides some examples and exercises for each chapter.

- **Computational Methods for Multiphase Flow** by Andrea Prosperetti and GrΓ©tar Tryggvason²: This book is a comprehensive guide to the numerical methods and techniques for simulating multiphase flows. It covers topics such as direct numerical simulations, immersed boundary methods, structured grid methods, finite element methods, lattice Boltzmann models, boundary integral methods, averaged equations, point-particle methods, segregated methods, and coupled methods. It also provides some case studies and applications for each method.

- **Multiphase Flow Analysis Using Population Balance Modeling: Bubbles, Drops and Particles** by Guan Heng Yeoh³: This book is a specialized book on the population balance modeling approach for multiphase flows. It covers topics such as population balance equations, breakup and coalescence models, interfacial area transport equations, bubble column reactors, fluidized beds, spray drying systems, etc. It also provides some software tools and codes for implementing the models.

- **Multiphase Flow Dynamics** by Nikolay Ivanov Kolev⁴: This book is an advanced book on the theoretical and experimental aspects of multiphase flow dynamics. It covers topics such as thermodynamics of multiphase systems, interfacial phenomena, phase change processes, multiphase turbulence models,

multiphase flow instrumentation and measurement techniques,

multiphase flow safety issues,

etc. It also provides some examples and problems for each topic.

These are some of the best books on multiphase flows that I can recommend to you. I hope you find them useful and interesting. 😊

Source:

(1) Fundamentals of Multiphase Flow - Cambridge University Press & Assessment. https://www.cambridge.org/core/books/fundamentals-of-multiphase-flow/FC7E6D7E54AC9D1C178EDF88D6A75FFF.

(2) Computational Methods for Multiphase Flow - Cambridge University Press .... https://www.cambridge.org/core/books/computational-methods-for-multiphase-flow/B2BD97E62BA30AA80779E5E54B47A5B4.

(3) 12 Best Books on Multiphase Flow - Sanfoundry. https://www.sanfoundry.com/best-reference-books-multiphase-flow/.

(4) Multiphase Flow Handbook - Google Books. https://books.google.com/books/about/Multiphase_Flow_Handbook.html?id=BgMUjwEACAAJ.

(5) Multiphase Flow Handbook | Efstathios Michaelides, Clayton T. Crowe, J. https://www.taylorfrancis.com/books/edit/10.1201/9781315371924/multiphase-flow-handbook-efstathios-michaelides-john-schwarzkopf-clayton-crowe.

(6)  https://doi.org/10.1017/CBO9780511807169.

(7)  https://doi.org/10.1017/CBO9780511607486.

Tuesday, October 17, 2023

πŸ’₯πŸ’₯πŸ’₯ How to prepare model for structural analysis in Ansys Workbench ?

Ansys Workbench is a software platform that enables you to perform finite element analysis (FEA) for various engineering problems. You can use Ansys Workbench to create, import, or edit geometry, apply materials and boundary conditions, generate and refine mesh, solve the problem, and post-process the results.

To prepare a model for structural analysis in Ansys Workbench, you need to follow these basic steps:

  • Launch Ansys Workbench and create a new project. You can choose from different analysis systems, such as Static Structural, Modal, Transient Structural, etc.
  • Double-click on the Geometry cell to open Ansys DesignModeler or Ansys SpaceClaim. You can create your own geometry using sketching and modeling tools, or import an existing CAD file from other software.
  • Save and close the geometry editor. The geometry will be automatically transferred to the project schematic.
  • Double-click on the Model cell to open Ansys Mechanical. Here you can define the material properties, element types, contacts, loads, supports, and other settings for your structural analysis.
  • Right-click on the Mesh branch and select Generate Mesh. You can use different meshing methods and controls to create a suitable mesh for your model. You can also check the mesh quality and statistics.
  • Right-click on the Solution branch and select Solve. You can monitor the solution progress and convergence in the Solution Information window.
  • Right-click on the Solution branch and select Insert to add different result items, such as stress, strain, displacement, reaction force, etc. You can view and plot the results in the graphics window or in the Worksheet.

You can also watch some video tutorials on how to perform structural analysis in Ansys Workbench from these links:

How to import a CAD file into Ansys Workbench ?

To import a CAD file into Ansys Workbench, you can follow these steps:

  • Save your CAD file in a compatible format, such as IGES, STEP, or Parasolid. You can use the File > Save As option in your CAD software to do this.
  • Launch Ansys Workbench and create a new project. You can choose from different analysis systems, such as Static Structural, Modal, Transient Structural, etc.
  • Double-click on the Geometry cell to open Ansys DesignModeler or Ansys SpaceClaim. You can use the File > Import External Geometry File option to select your CAD file and import it into the geometry editor.
  • Save and close the geometry editor. The geometry will be automatically transferred to the project schematic.
  • Double-click on the Model cell to open Ansys Mechanical. Here you can define the material properties, element types, contacts, loads, supports, and other settings for your structural analysis.

You can also watch some video tutorials on how to import CAD files into Ansys Workbench from these links:

How to export a mesh from Ansys Workbench?

To export a mesh from Ansys Workbench, you have several options depending on the format and the destination of the mesh file. Here are some common methods:

You can also watch some video tutorials on how to export meshes from Ansys Workbench from these links:

I hope this helps you with your project. If you have any other questions, feel free to ask me. 😊

Monday, October 16, 2023

πŸ’₯πŸ’₯πŸ’₯ What are non-linear contacts in Ansys Workbench and when to use for ?

 Non-linear contacts in Ansys Workbench are a type of contact formulation that can model the behavior of contacting surfaces that may separate, slide, or deform under applied loads. Non-linear contacts are useful for simulating problems that involve large displacements, gaps, friction, or contact stiffness1.

There are different types of non-linear contacts in Ansys Workbench, such as frictionless, rough, frictional, and no separation. Each type has its own advantages and disadvantages depending on the problem you are trying to solve. For example, frictionless contact allows free sliding between surfaces but does not account for any shear stresses. Frictional contact can model shear stresses up to a certain limit before sliding occurs, but it may require more iterations to converge. No separation contact prevents any gap formation between surfaces but may not be realistic for some cases1.

To use non-linear contacts in Ansys Workbench, you need to specify the contact and target regions, the contact formulation, the detection method, the contact stiffness, and other advanced settings. You can also use the general contact option to automatically detect and define contacts between all bodies in the model2.

If you want to learn more about non-linear contacts in Ansys Workbench, you can watch some video tutorials here, here, or here. You can also read some articles here, here, or here

What is the difference between linear and non-linear contacts?

Some examples of non-linear contacts are:

These are some of the problems that require non-linear contact analysis to capture the true behavior of the contacting surfaces under various loading conditions. 

Explanation about the detection method and stiffness settings for non-linear contacts

I will try to explain more about the detection method and stiffness settings for non-linear contacts in Ansys Workbench.

The detection method is the way that Ansys Workbench identifies the contact pairs between the contact and target regions. There are five options for the detection method: nodal, nodal-normal-to-target, projection, projection-normal-to-target, and closest-point projection1. Each option has a different algorithm for finding the contact nodes and elements, and may result in different contact areas and forces. The default option is nodal-normal-to-target, which is the fastest and most robust option, but it may not be accurate for some cases where the contact surfaces are curved or have sharp corners1. You can change the detection method to another option if you observe excessive penetration or unrealistic results in your simulation.

The stiffness settings control how stiff or flexible the contact interface is in the normal and tangential directions. The stiffness factor is a multiplier that adjusts the contact stiffness based on the material properties of the contact and target regions. The default value is 1.0, which means that the contact stiffness is equal to the harmonic average of the Young’s modulus of the contact and target regions2. You can increase or decrease the stiffness factor to make the contact interface stiffer or softer, respectively. This may affect the convergence and accuracy of your simulation. For example, a higher stiffness factor may reduce the penetration but increase the numerical instability, while a lower stiffness factor may increase the penetration but improve the convergence2.

The stiffness settings also include an option to update the normal stiffness in each iteration. This option allows Ansys Workbench to automatically adjust the contact stiffness based on the current deformation and penetration of the contact interface. This option is recommended for most non-linear contact problems, as it can improve the accuracy and convergence of your simulation3. However, it may also increase the computational cost and time of your simulation.

I hope this explanation helps you understand more about the detection method and stiffness settings for non-linear contacts in Ansys Workbench.

What is the difference between frictional and no separation contact?

Frictional and no separation contact are two types of non-linear contact formulations in Ansys Workbench. They differ in how they model the tangential behavior of the contacting surfaces1.

Frictional contact allows the surfaces to slide relative to each other if the shear stress exceeds a certain limit, which is determined by the coefficient of friction. The coefficient of friction can be constant or variable, depending on the material properties and the contact pressure. Frictional contact can capture the effects of friction on the deformation, stress, and heat generation of the contacting surfaces2.

No separation contact prevents any sliding or separation between the surfaces in both normal and tangential directions. The surfaces are effectively glued together, but they can still deform under applied loads. No separation contact can be used to model problems where the surfaces are bonded or welded, or where the sliding is negligible compared to the deformation3.

Frictional and no separation contact have different advantages and disadvantages depending on the problem you are trying to solve. Frictional contact can be more realistic and accurate for some cases, but it may also require more iterations and computational time to converge. No separation contact can be simpler and faster to solve, but it may not be applicable or realistic for some cases1.

What is the difference between frictional and frictionless contact?

The difference between frictional and frictionless contact is that frictional contact considers the effect of friction forces between the contacting surfaces, while frictionless contact ignores them. Friction forces can resist the relative sliding of the surfaces and generate heat and wear. Frictionless contact assumes that the surfaces can slide freely without any resistance or energy loss.

Frictional and frictionless contact are two types of non-linear contact formulations in Ansys Workbench. They are used to model problems that involve large displacements, gaps, or contact stiffness between the contacting surfaces. Frictional and frictionless contact differ in how they calculate the tangential forces and displacements at the contact interface1.

Frictional contact uses a Coulomb friction model to determine the tangential forces and displacements. The tangential force is proportional to the normal force and the coefficient of friction, which can be constant or variable. If the tangential force exceeds a certain limit, the surfaces start to slide relative to each other. The sliding causes heat generation and wear at the contact interface2.

Frictionless contact assumes that the tangential force is zero and the surfaces can slide without any resistance. The tangential displacement is calculated by integrating the relative velocity of the surfaces over time. The sliding does not cause any heat generation or wear at the contact interface3.

Frictional and frictionless contact have different advantages and disadvantages depending on the problem you are trying to solve. Frictional contact can be more realistic and accurate for some cases, but it may also require more iterations and computational time to converge. Frictionless contact can be simpler and faster to solve, but it may not be applicable or realistic for some cases1.

When to use no-separation, frictional and frictionless contact in Ansys Workbench?

The choice of contact type in Ansys Workbench depends on the problem you are trying to solve and the behavior of the contacting surfaces. Here are some general guidelines for when to use no-separation, frictional and frictionless contact:

These are some general guidelines for when to use no-separation, frictional and frictionless contact in Ansys Workbench. However, you may need to experiment with different contact types and settings to find the best fit for your specific problem. 

Tuesday, October 10, 2023

πŸ’₯πŸ’₯πŸ’₯ How to model hardening process in Ansys Workbench ?

 To model the hardening process in Ansys Workbench, you need to define a material model that captures the plastic deformation and strain hardening behavior of the material. There are several plasticity models available in Ansys, such as multilinear hardening, isotropic hardening, kinematic hardening, etc. You can choose the model that best fits your experimental data and application.

One of the most commonly used plasticity models is the multilinear hardening model, which allows you to specify the true stress-strain curve of the material beyond the yield point. You can obtain this curve from a tensile test or from literature sources. You can also use Ansys to calculate the slope of the curve up to the yield point, which is the elastic modulus of the material.

To define a multilinear hardening model in Ansys Workbench, you need to follow these steps:

  • In the Engineering Data section of Ansys Workbench, add a new material or edit an existing one.
  • In the Material Models tab, expand the Structural branch and select Plasticity.
  • In the Plasticity branch, select Multilinear Hardening.
  • In the Multilinear Hardening table, enter the true stress and true plastic strain values for each point on the curve. You can also import these values from a file or copy and paste them from another source.
  • In the Isotropic Elasticity branch, enter the Young’s modulus and Poisson’s ratio of the material. You can also use Ansys to calculate these values from the true stress-strain curve.
  • Apply the material to your geometry in the Model section of Ansys Workbench.
  • Set up your boundary conditions, loads, and analysis settings in the Setup section of Ansys Workbench.
  • Solve your analysis and view the results in the Solution section of Ansys Workbench.

For more details and examples on how to define a multilinear hardening plasticity model in Ansys Workbench, you can watch this video1 or read this article2. You can also download the accompanying geometry and simulation files from these links34.

What is the difference between multilinear and isotropic hardening?

What is the difference between true stress and engineering stress?

Monday, October 9, 2023

πŸ’₯πŸ’₯πŸ’₯ How to create design of experiment in Ansys Workbench ?

 To create a design of experiment (DOE) in Ansys Workbench, you need to follow these steps:

  • First, you need to define the input and output parameters that you want to vary and measure in your simulation. You can do this by using the Parameter Set tool in the Project Schematic window. You can also specify the lower and upper bounds for each input parameter.
  • Next, you need to drag the Response Surface Optimization tool from the Toolbox menu and drop it under the Parameter Set. This will connect the systems and allow you to perform the DOE.
  • Then, you need to double-click the Design of Experiments tool and select the type of DOE that you want to use. There are different methods for generating the DOE, such as Full Factorial, Central Composite, Box-Behnken, Latin Hypercube, etc. Each method has its own advantages and disadvantages depending on the number of input parameters and design points.
  • After selecting the DOE type, you need to click on Generate Design Points. This will create a set of sampling points in the design space according to the chosen method. You can also modify or add design points manually if needed.
  • Next, you need to click on Update to run the simulation for each design point and obtain the output values. This may take some time depending on the complexity of your model and the number of design points.
  • Finally, you can view the results of your DOE by clicking on Return to Project and then double-clicking on Response Surface. You can also use other tools such as Response Surface Fit, Optimization, or Six Sigma Analysis to further analyze and optimize your design.

What is the difference between DOE and optimization ?

DOE and optimization are both methods for finding the best solution to a problem, but they have some differences in how they approach the task. Here are some of the main differences:

  • DOE is a statistical method that uses a predefined set of experiments to evaluate the effects of different factors and interactions on the outcome. Optimization is a mathematical method that uses an algorithm to search for the optimal value of an objective function.
  • DOE is more suitable for problems where there are multiple factors or interactions that need to be considered, and where the objective function is linear or convex. Optimization is more suitable for problems where there are few factors or no interactions, and where the objective function is non-linear or non-convex.
  • DOE requires a large number of experiments, which can be costly and time-consuming. Optimization requires fewer evaluations, but can be computationally expensive.
  • DOE provides a measure of confidence and significance for the results, which is useful for testing hypotheses and making decisions. Optimization provides a measure of uncertainty and robustness for the results, which is useful for managing risk and sensitivity.

For more information and examples on DOE and optimization, you can visit these websites123.

What is the difference between linear and non-linear objective function?

The difference between linear and non-linear objective function is that a linear objective function is a function of the form Z = ax + by, where a and b are constants and x and y are variables, while a non-linear objective function is a function that does not have this form and may involve higher powers, products, or other non-linear terms of the variables. A linear objective function can be represented by a straight line on a graph, while a non-linear objective function can have a curved or irregular shape. A linear objective function has a constant slope, while a non-linear objective function can have a varying slope at different points. A linear objective function has only one optimal solution, while a non-linear objective function may have multiple local optima or no global optimum. A linear objective function is easier to solve analytically or numerically, while a non-linear objective function may require more complex methods or algorithms. For more information and examples on linear and non-linear objective functions, you can visit these websites1234.

What is the difference between local and global optima?

The difference between local and global optima is that a local optimum is a solution that is optimal (either maximal or minimal) within a neighboring set of candidate solutions, while a global optimum is the optimal solution among all possible solutions1. A local optimum may not be the best solution overall, but it is the best solution in a certain region of the search space. A global optimum is the best solution overall, regardless of the region. For example, consider the following plot of a function with one variable:

We can see that there are two local minima at x = -2 and x = 2, where the function value is smaller than at nearby points, but possibly greater than at a distant point. However, there is only one global minimum at x = 0, where the function value is smaller than at all other feasible points. Finding the global optimum of a function can be challenging, especially if the function has many local optima or is non-linear. There are different algorithms and methods for finding local and global optima, such as gradient descent, hill climbing, simulated annealing, genetic algorithms, etc2345. I hope this explains the difference between local and global optima. 😊

What is the difference between gradient descent and hill climbing ?

The difference between gradient descent and hill climbing is that they are opposite methods for finding the optimal value of a function. Gradient descent is a method that moves in the direction of the negative gradient of the function, which means it goes downhill to find the minimum value. Hill climbing is a method that moves in the direction of the positive gradient of the function, which means it goes uphill to find the maximum value12.

Another difference is that gradient descent requires the function to be continuous and differentiable, so that the gradient can be calculated. Hill climbing does not require this condition, and can work on discrete or non-smooth functions. Hill climbing only changes one variable at a time, and checks if the function value improves. Gradient descent can change multiple variables at a time, and uses a step size to determine how much to move13.

A third difference is that gradient descent can be more efficient and accurate than hill climbing, as it can move faster and closer to the optimal value. Hill climbing can be slower and less accurate, as it can get stuck in local optima or plateaus. However, hill climbing can be more robust and flexible, as it can work on a wider range of functions and problems24.

Monday, October 2, 2023

πŸ’₯πŸ’₯πŸ’₯ What is Keras and what is used for ?

 Keras is an open source library that provides a Python interface for artificial neural networks. Keras acts as an interface for the TensorFlow library, which is a powerful and popular machine learning platform1. Keras is used for building, training and deploying deep learning models for various applications, such as computer vision, natural language processing, recommender systems and more2.

There are three ways to create Keras models3:

  • The Sequential model, which is very straightforward (a simple list of layers), but is limited to single-input, single-output stacks of layers (as the name gives away).
  • The Functional API, which is an easy-to-use, fully-featured API that supports arbitrary model architectures. You can create models that have multiple inputs, multiple outputs, shared layers, or even models with internal branching.
  • The Model subclassing, which is a more advanced and flexible way to define custom models. You can create models by subclassing the tf.keras.Model class and defining your own forward pass logic. This gives you more control over your model’s behavior and allows you to use low-level TensorFlow operations.

To model in Keras, you need to follow these steps:

  • Define your model by using one of the methods mentioned above. You can choose the layers and parameters that suit your problem and data.
  • Compile your model by specifying the optimizer, loss function and metrics that you want to use. This prepares your model for training and evaluation.
  • Fit your model to the training data by using the fit method. You can also use callbacks, validation data, batch size and epochs to customize the training process.
  • Evaluate your model on new data by using the evaluate or predict methods. You can also use the test_on_batch or train_on_batch methods for finer control over the evaluation or training steps.

You can find more details and examples on how to model in Keras from its official website3, its documentation, its tutorials, its blog, its forums and its GitHub repository. I hope this helps you learn how to model in Keras. 😊


Is Keras good for experimental unsteady data ?

Keras can be good for experimental unsteady data, depending on the type and complexity of the data and the problem you are trying to solve. Experimental unsteady data are data that are collected from experiments that involve time-varying or transient phenomena, such as fluid dynamics, acoustics, vibrations, etc. These data can be challenging to analyze and model because they may have high dimensionality, noise, nonlinearity, chaos, or other features that make them difficult to capture with traditional methods3.

Keras offers a simple and intuitive way to create and customize neural network architectures, as well as various tools and libraries for data preprocessing, visualization, evaluation and optimization2. Keras also supports different types of neural networks, such as convolutional neural networks (CNNs), recurrent neural networks (RNNs), long short-term memory networks (LSTMs), and more. These neural networks can be useful for modeling experimental unsteady data because they can learn complex patterns and relationships from the data, and handle sequential or spatial information .

However, Keras is not a magic solution that can automatically handle any kind of experimental unsteady data. You still need to have a good understanding of your data and your problem domain, and choose the appropriate neural network architecture, parameters, and hyperparameters for your model. You also need to be aware of the challenges and limitations of using deep learning for experimental unsteady data, such as overfitting, underfitting, generalization, interpretability, computational cost, etc .

Popular posts