If the mesh is regular, you can use the select tool to directly apply to element faces. if that's not the case, consider creating a small regular shaped very thin block that you can constrain to your beam. this would also allow you to swap in and ou…
I have to admit that going from ANSYS to CCX made me abandon all those sticks and shells that we used to use in our models. For AXI models, I find it just as easy now to make a quick sector model and call it a day.
@Sergio definitely a reasonable option, but in many cases we are dealing with these things after the fact, as a STEP (from Solidworks or Inventor or Creo) so I would prefer a way to correct things "after the fact". What I find interesting is that t…
We use Solidworks/Creo/Inventor depending on the project, and unfortunately come across CAD like the attached figure more than we'd like. Meshes look awful from GMsh and Netgen just fails. I need to find a standalone like SpaceClaim without bloated…
If you name your CONTACT or TIE surfaces using "sequential" names, for example, S101,S102,S103,S104... such that the surface pairs are S101/S102, then S103/104....
The surfaces will be listed in the Named Selection in surface pair order. You can th…
@dculp - this is also posted in the Python API Scripts post
Solve then Save:
mw.solve()
mw.save()
Use:
"C:\Program Files\Mecway\Mecway16\mecway.exe" aaa.liml script solve_then_save.py
you can refer to a path if the python script is stored el…
For your time variant load, you can actually cut and paste fairly large files (time, value) directly into the table definition in Mecway. Another way to do this is to define a dummy unit load, write your CCX input file, then clip the load step into …
I have been using ccx_dynamic.exe in 2.20. it executes pastix unless you are doing modal, then switches to pardiso. I have found it to be more robust than previous pastix releases. it also lets you set to pardiso if you need, and can be done with a …
I have been using a solve_then_save.py script, runs and saves to original name, and you can do this externally without flipping a switch inside the Mecway database. works great.
@prop_design, I'll keep you concerns in mind. I am finding that it is running faster, and also in cases where the older Pastix crashed, the 2.20 version ran. I can always override by using Mecway Modify Keyword on the *STATIC command, but so far so …
This is our 68 step process, similar to @disla. But I think that once the edge is selected, the end result could be automated with scripting, or maybe put on the "new features" list for @victor
I'm enjoying this thread, please don't skimp on the details
We do gears, and I would consider us "non-ISO hacks". But some things I have learned:
I take the time to make a good hex mesh. With some simple extrudes or slightly less simple sweeps f…
options 2 and 5 are probably your best best in post at top of this thread. Pastix is often the fastest, but can sometimes be flaky, so keep Pardiso around.
Strange. Mecway 14, I downloaded your STEP, meshed, selected the bolt holes in geometry, worked fine.
A workaround for now is to do direct selection on the mesh.
EDITED BY VICTOR. This code is now obsolete. See
https://mecway.com/forum/discussion/comment/6503/#Comment_6503 for a simpler way using solution.interpolate().
Results extraction at a given coordinate without node.
from Victor
12:53AM edited 12:55…
Nice job as always.
Looking forward to the new features in the API, I think there will be a fatigue calculator in Mecway's future with those new functions
I'm finding the new time output time points to be very useful, but I think I'll have…
When you want to deform a shell mesh, use this Modify Keyword option, so that the number of nodes in the model matches the solution. This can then be deformed to any scale, and then exported as you like.
I actually did that and forgot to post
See attached, a good hex mesh from Mecway just as you said, and you are spared the Salome Jungle!
I know Salome has its fans but I have never warmed up.
Use OP=NEW with caution. When you release the boundary condition, the sudden recovery can sometimes mess with convergence. Also, I think there are rules about deleting that are not all that intuitive (to me anyway).
If I use OP=NEW I always define…
Instantly like this one by Victor that outputs element volumes to a file:
import os
filename = os.path.dirname(mw.file_name()) + "\\volumes.txt"
with open(filename, 'w') as file:
for element_id in solution.all_elements():
file.write(s…
Sometimes we use the ANSYS mesher, and we export the model in ABAQUS format, which you can read directly into Mecway. We are normally just importing mesh, I don't know if this works for boundary conditions. But Mecway makes quick work of setup for m…