# Questions tagged [acegen]

AceGen is a Mathematica package for automatic code generation, focused on finite element method subroutines.

78 questions
Filter by
Sorted by
Tagged with
52 views

### AceFEM: Manipulation of SMTData[“MatrixGlobal”] after building but before solving

I want to manipulate the global stiffness matrix before I solve the system of equations. Unfortunately, the command SMTNewtonIteration[] builds up the global matrix and the global vector and solve the ...
85 views

### AceFEM: Tie - Option Issue

I try to use the "Tie" Option of the SMTAnalysis[] function. In general, I want to have some additional Nodes (two kinds of them) at certain (not all) coordinates tied and at some not. What I have is ...
247 views

### How to draw a generic 3D closed shape to be analyzed in AceFEM?

I would like to draw a 3D shape to test my AceGen procedure. I will insert the AceFEM part of my code. In this example, I have performed the analysis on a hexahedron element. ...
95 views

### Index out of bound error in AceFEM

I have written an AceGEN code for a 3D element. The degrees of freedom at each point are 4, 3 spatial displacements and one additional degree of freedom that acts like temperature, i.e. for the ...
294 views

### AceGen: User element generation for FEAP or ABAQUS to solve coupled problems

Is possible to generate elements (SKR module) to use in FEAP or Abaqus for problems involving additional degrees of freedom? I'm trying to generate an 3D element to establish the mechanical ...
94 views

I make some simulations in AceGen and AceFEM using H1 finite elements. After computations I want to present results, in particular, deformed (or undeformed) mesh with some map (e.g. stress component) ...
74 views

### Does anyone have experience in simulating reinforced concrete member in AceGen and AceFEM?

I am going to start generating an acegen code in which the flexural behaviour of a reinforced concrete beam can be simulated. Since there is no documentary about reinforced concrete members in AceGEN ...
86 views

### Assumed units of material parameters in AceFEM

I want to be sure of the values I am obtaining using AceFEM, so wanted to know that the units of elastic modulus that the AceShare assumes is it MPa or N/m^2 and for density of solid is it Kg/m^3 ...
136 views

### AceGen: Solving the dynamic equation in the middle of the time step

Note: This question is about AceFEM and AceGen package for automatic code generation for finite element analysis. If the question is not specific enough, I will try to refrase it, but I am a fairly ...
240 views

### Example of dynamic analysis in AceFEM

I am interested to see how to create a simple example of dynamic FEM analysis implemented with AceFEM package. Dynamic analysis means that inertial effects are taken into account. The package ...
86 views

### How to change the element connectivity?

After each load step, I check if the stress has reached a critical value. If this is true, I would like to change the elements connectivity as shown in the figure. Is it possible to do it with AceFem ...
231 views

### Application of natural boundary conditions

I am trying to apply a time dependent load in AceFEM, for which i have used adaptive time method for analysis, also i need it to be applied at the nodal points from 1 to 15. So i have used natural ...
146 views

### Mesh import - Contra-intuitive results of simple AceFEM analysis

I am doing AceFEM analysis with mesh imported from external software. I use ELFEN to create tetrahedral mesh, write its properties to a text file and then read this file into Mathematica, extracting ...
133 views

### GUI button with AceFEM functions

I would like to have a GUI with a button that starts AceFEM analysis and then some results appear. I have taken one example from the documentation on boundary condition specification and I wrapped it ...
143 views

### How to collect results even if AceFEM analysis diverges?

Sometimes (implicit) finite element analysis with AceFEM diverges and solution procedure is aborted before reaching the final time/load step. I have followed the method shown in documentation for ...
186 views

### How to include AceFEM analysis in a package

I would like to wrap my AceFEM analysis in one function and include it in a Mathematica package (.wl). I have followed the instructions on how to create packages from documentation and saved the ...
223 views

### AceFEM: Can I change boundary conditions in the middle of analysis session?

I'd like to compute an example of a clamped column that is subjected to mixed types of load. Namely, the load consists of the horizontal force Ī»F0 and the vertical prescribed displacement v0 that ...
280 views

### AceFEM: Show mesh with average element stress

How can I get value of stress (or some other field) in each integration point of finite element with AceFEM package? I need this information to show mesh with values of stress averaged over each ...
254 views

### AceFEM: Arc-Length Method and Load Element

I've got another issue regarding the arc length method. In the analysis below, I introduce a load using a finite element. I then try to solve the problem using arc-length procedure. First issue is: ...
279 views

### AceFEM: Efficient calculation of volume of axisymmetric elements

I am looking for the most efficient calculation of volume of axisymmetric elements in finite element analysis with AceFEM package. Ideally I would like to have this implemented in AceGen element code ...
121 views

### AceFEM: Manipulating Elements Domain

I'm trying to change the Domain of an Element. For that purpose usage of makes sense for me. Anyway, it applies I've done a syntax error here. Can anyone tell how to do it right ? ...
471 views

### AceFEM: Conversion of triangular to quadrilateral mesh

I am using AceFEM command SMTTriangularToQuad to convert 2D triangular mesh (created by Mathematica) to unstructured quadrilateral mesh. This mesh has internal "...
181 views

### AceGen: Deformation Dependent Load Element in Arc Length Procedure

for a structural analysis, I'd like to use an finite element that introduces a deformation dependent load within an arc-length procedure. The Element gets the load value via an input parameter, which ...
112 views

### AceFEM: Why SMTShowMesh doesn't show changes in initial configuration?

I am changing initial positions of nodes after the analysis has been initialized (after the SMTAnalysis[...]) and this procedure works fine, but the problem is that ...
179 views

### AceGen: How to use MinGW in Compile[]? [duplicate]

Note: This question is about AceGen package for automatic code generation for finite element analysis. MinGW compiler is recommended for compiling finite element subroutines generated by AceGen and ...
216 views

### AceFEM: How to improve legend in SMTShowMesh?

Note: This question is about AceFEM package for finite element analysis in Mathematica. I would like to improve styling of color legend produced by default use of ...