Questions tagged [acegen]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
65 views

Newton iteration procedure without multiplier in AceFem [closed]

Is there any way in AceFem to use newton iterative scheme without using multiplier λ or time step t? For example, if one is trying to calculate solution to some nonlinear equation no multiplier is ...
4
votes
1answer
62 views

AceGen: Equation solving fails (because of missing pivoting?)

I am looking to solve some nonlinear equations in a code generated by AceGen. To this end, i implemented a Newton-Raphson scheme making use of the SMSLUFactor[] and SMSLUSolve[] methods. This ...
3
votes
2answers
176 views

Double shell wall contact with AceGen

I have a shell with double walls and some space between (Picture 1). The 2 walls are connected with three edges. If I apply force to outer wall and if the force is big enough, outer shell wall will ...
0
votes
1answer
42 views

How to print the residual and tangent matrix? [closed]

Is there any command in AceGen to print the residual and tangent matrix in a simple and robust way? EDIT 2: It would be best to have the whole stiffness matrix and residual vector of the problem in ...
0
votes
0answers
61 views

SMSCorrect internal: Incorrect structure-2

Does anyone know what does the error: SMSCorrect internal: Incorrect structure-2. refer to? I mean, in general. Specifically, I get it from the following code. ...
2
votes
1answer
71 views

AceGen incremental values of degrees of freedom

I need to operate with incremental values of my rotational degrees of freedom in my FE code. But I wish this incremental rotations to be dependent on the actual rotations, that I use as degrees of ...
2
votes
0answers
46 views

AceGen map result for new variable

I am using AceGen default material SED3H1DFHYH1DOgdenU1 and for this material I want to create resultant map which will show me map for the energy but only if it is above some treshold. I am using ...
1
vote
1answer
66 views

SMTNodeData in BatchModeSteering

Does anyone know wether it is at all possible to read/modify node data or element data within the batch mode steering procedure of AceFEM? I'm looking for something like: ...
3
votes
2answers
127 views

AceGen/AceFEM Explicit Meshless

Hello fellow Ace Users. Currently I'm working on a project to implement Peridynamics. This is a discretization technique in the fashion of a meshless particle method. AceGen/AceFEM provides the ...
3
votes
2answers
160 views

Contact with rigid obstacle in AceFEM

Does anyone of you know how to specify the simulation when a deformable body is affected by contact with some rigid body? I think it should be possible, but I am unable to find it in the manual.
3
votes
1answer
72 views

PostProcessing the SMTNodeData values in the deformed configuration

I have been struggling with this problem for a long time. I know that this question is not specifically related to AceGen or AceFEM, but I would like to know if anyone had a similar experience in ...
0
votes
0answers
56 views

Derive a tangent using the AceGen package

I want to derive the algorithmic tangent of a material model, but all I have given is the potential and the flow function. Are there any exmaple codes or tutorials for the implementation with AceGen? ...
2
votes
1answer
70 views

Extract the integer part from a real valued variable in AceGen

I would like to extract the integer part of a real variable. To be more specific, given a vector alpha I would like to extract the integer part of ...
1
vote
0answers
54 views

Implementing different integration rules for different fields

I am back with another issue that I couldn't solve, although trying different ways. The problem is in two-dimensional plane strain setup with hyperelasticity. The only degrees of freedom that I have ...
3
votes
1answer
158 views

Running Abaqus with AceGen

I am an AceGen/AceFEM user, but I think codes generated with AceGen could be more useful if people accustomed to Abaqus could also use them. The AceGen help claims that generation of Abaqus codes is ...
0
votes
0answers
55 views

AceGen list parameter

I am working with AceGen and I try to define my own materiał and in this material I have a parameter K which is calculated at every incement. My problem is that ...
2
votes
1answer
69 views

Using My own colorfunction in SMTShowMesh

When plotting the data using SMTShowMesh in AceFEM package I would like to use my own color function not the one that SMTShowMesh uses by default. For this to be achieved, I created my own color ...
0
votes
0answers
60 views

Time dependent parameter in AceGen

The AceGen is a third party Mathematica package (website) used for the automatic derivation of formulae needed in numerical procedures. Is there possible to define in AceGen code, parameter which ...
2
votes
0answers
97 views

Using ArcLength method for my simulation

Me again with another problem :-) Since I couldn't get the convergence in one of my simulations due to some problems which I couldn't identify, I decided to try the Arc length procedure in order to ...
1
vote
0answers
53 views

Is there any limitations for SMTPut?

Recently, I figured out that there is a problem in separating the simulation and post-processing phases in my analysis. Since my simulation is quite big so I decided to separate the simulation phase ...
4
votes
1answer
144 views

What could be the reason for for the residual error in post-iteration to high…?

Recently I started having this error in my simulations in AceFEM. For me it is quite strange because it happens in a particular step when the convergence has ...
4
votes
4answers
199 views

Prescribe the rotation as the boundary condition and the plane section constraint in AceFEM

I am going to analyze a rectangular beam under bending moment in AceFEM. To prescribe the bending I would like to prescribe the rotation angle of the section at the point $z=L_z$ (see the AceFEM file ...
3
votes
1answer
125 views

Using a fast solver to speed up the simulation in AceFEM

My question this time is more general and I would like to know if you have some suggestions. I am going to simulate a very big 3D problem in AceFEM (109368 elements, 1419432 nodes, and 3594150 ...
6
votes
1answer
283 views

AceGen/AceFEM Material Subroutine

I'm back with an unusual issue. I`d like to generate a finite element for AceFEM, that calls an external (AceGen generated) subroutine, for the material. Upfront, as the code is a little broad, I ...
1
vote
1answer
121 views

Define two elements, e.g. H2 and S1 elements, in SMSTemplate

Suppose that I have developed a code for a 3D heat problem (without considering heat convection of the surface) with H2 elements. Now I am going to enhance the code and add the heat convection of the ...
3
votes
1answer
123 views

How to generate such a complicated 3D object in AceFEM?

I would like to simulate a specimen with the following shape in AceFEM. I know that I have to create each part separately and call SMTMesh multiple times but I really don't know how to create the ...
2
votes
2answers
47 views

User Task evaluated after SMTAnalysis[]

Say I'd like to compute values within my element, related to the centre of mass(COM) of my domain. Therefore I need to know the coordinates of the COM in advance. This can obviously done in ...
0
votes
0answers
65 views

AceGen: Transfer the code for H1 element to a code for H2S

I have recently generated a code based on 8-node Hexahedral (tri-linear) element that gives the response of a hyperelastic material. However, now I have found out that with 20-node serendipity (bi-...
3
votes
2answers
94 views

AceFEM: Continue despite error

I am testing different FE formulations on a series of simple benchmark tests. Not all elements converge to the final solution for all the examples, so it occurs that a following (or a similar) message ...
2
votes
0answers
65 views

AceFEM: Matrix condensation and elimination of local unknowns

Lately I have been working with non-linear mixed hybrid elements. The basic article that I took for my research is one by T.H.H. Pian dn K. Sumihara: Rational approach for assumed stress finite ...
2
votes
1answer
50 views

AceFEM: Session Identifier

I wonder wether there is a way to identify an AceFEM session. Some variable with a Hash or the startup time of the current session, which is reset after an SMTInputData[] command. Thanks in advance !
1
vote
0answers
47 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 ...
2
votes
0answers
82 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 ...
4
votes
1answer
225 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. ...
2
votes
1answer
90 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 ...
5
votes
0answers
260 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 ...
3
votes
1answer
81 views

SMTShowMesh with additional graphics

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) ...
0
votes
0answers
71 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 ...
4
votes
1answer
84 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 ...
2
votes
0answers
126 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 ...
4
votes
1answer
190 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 ...
0
votes
0answers
78 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 ...
5
votes
1answer
218 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 ...
4
votes
1answer
118 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 ...
5
votes
1answer
122 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 ...
5
votes
2answers
132 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 ...
7
votes
1answer
182 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 ...
7
votes
1answer
190 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 ...
3
votes
2answers
247 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 ...
6
votes
1answer
234 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: ...