Solidworks Mesh

Submitted by srguya on Fri, 10/21/2016 - 08:46

Hi

I am a new liggghts user. I am having challenges with importing Solidworks generated mesh into liggghts. I have done some tutorials using the supplied mesh and even changed the input file using the supplied mesh and everything was running fine. Now when i create my own mesh in solidworks, it is not working. I generate my mesh as follows:
1. Draw solid model in solidworks
2. Save the model as stl
3. Import the stl file into liggghts

My other question is how do I know if my mesh is within the defined computational domain in liggghts.

Thanks for help

Westbrink | Fri, 10/21/2016 - 09:49

Do you have an errormessage for us?
I am thinking that your mesh exceeds your domain. Often the CAD drawings are created in mm, but LIGGGHTS calculuates with SI units.
So you have to scale it. Have a look into the mesh/surface command.

Regards,
Westbrink

srguya | Fri, 10/21/2016 - 14:24

I am getting the following error on running the input file

ERROR: Mesh (id cad1): Mesh elements have been lost / left the domain. Please use 'boundary m m m' or scale/translate/rotate the mesh or change its dynamics (../multi_node_mesh_parallel_I.h:568).

Regards

Solomon

ckloss's picture

ckloss | Fri, 10/21/2016 - 15:26

Just follow the recommendations in the error message!

best wishes
Christoph

Spencer1212 | Fri, 10/19/2018 - 12:22

SolidWorks is the best-designed software. SolidWorks Free Download helps users to maximize your design and engineering productivity.
You Can Download Easily in softmega.org. 10000 of people daily free download SolidWorks.

msandli | Tue, 11/08/2016 - 20:18

I use solidworks extensively to generate .stl files to use in liggghts. before you save your .stl file, you can add your own local coordinate system which has a location and orientation that makes sense to you. then, when you save your .stl file, you have the option to not only choose the units to save it in, but also which coordinate system you want to use. this used to drive me nuts because the solidworks global coordinate system is apparently 90 degrees away from the liggghts coordinate system, but this means that my y- and z- axes were usually flipped in some odd way.