CalculiX "no material assigned" error
Moderator: bernd
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
CalculiX "no material assigned" error
Hi all,
First of all, thank you so much for this wonderful tool and the FEM integration !
I'm trying to replicate the tutorial from youtube https://www.youtube.com/watch?v=Qbif13e2iyo
I'm using :
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13289 (Git)
Build type: Release
Branch: master
Hash: 23fff2b1d3a066d335dea509694e8f83f859d16a
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/Switzerland (en_CH)
When running CalculiX, I get the following error message for several elements :
*ERROR in calinput: no material was assigned
to element 621
This is apparently due to multiple materials : if I use a single material, the simulation runs fine.
Am I doing something wrong ?
Thanks for your help in advance,
Sam
First of all, thank you so much for this wonderful tool and the FEM integration !
I'm trying to replicate the tutorial from youtube https://www.youtube.com/watch?v=Qbif13e2iyo
I'm using :
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13289 (Git)
Build type: Release
Branch: master
Hash: 23fff2b1d3a066d335dea509694e8f83f859d16a
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/Switzerland (en_CH)
When running CalculiX, I get the following error message for several elements :
*ERROR in calinput: no material was assigned
to element 621
This is apparently due to multiple materials : if I use a single material, the simulation runs fine.
Am I doing something wrong ?
Thanks for your help in advance,
Sam
Re: CalculiX "no material assigned" error
Hi, I made the video. In the link is a running model just created on the newest development snapshot. You can try if it works on your system. I cleared the mesh, that means you have to remesh the model.
https://www.dropbox.com/s/z19lb0v94qiik ... FCStd?dl=0
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13303 (Git)
Build type: Release
Branch: master
Hash: b47e011c1cc6357fa776624d371ed434989c79b1
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: German/Germany (de_DE)
https://www.dropbox.com/s/z19lb0v94qiik ... FCStd?dl=0
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13303 (Git)
Build type: Release
Branch: master
Hash: b47e011c1cc6357fa776624d371ed434989c79b1
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: German/Germany (de_DE)
Re: CalculiX "no material assigned" error
@freesam:
would you clear the mesh and post the FreeCAD file?
would you clear the mesh and post the FreeCAD file?
Re: CalculiX "no material assigned" error
Christoph,
Thanks a lot for your model. I've tried it and it works. My error probably comes from me having not followed strictly the video : I've used Netgen instead of Gmesh. With Gmesh, it works just nicely. Is this an expected behavior with Netgen ?
@bernd I guess you don't need the file anymore, do you ?
Thanks for your support !
Thanks a lot for your model. I've tried it and it works. My error probably comes from me having not followed strictly the video : I've used Netgen instead of Gmesh. With Gmesh, it works just nicely. Is this an expected behavior with Netgen ?
@bernd I guess you don't need the file anymore, do you ?
Thanks for your support !
Re: CalculiX "no material assigned" error
no if it works for you, you don't need to post the file.
Multi material analysis should work with netgen and gmsh meshes.
bernd
Multi material analysis should work with netgen and gmsh meshes.
bernd
Re: CalculiX "no material assigned" error
I've retried the tutorial with gmesh, and get the same error again.
I've attached the meshed file.
Using other files, I was able to get it working with Gmesh, but not Netgen. But I'd suspect I do something wrong which has nothing to do with the mesher I select.
Do you see an issue in this file ?
Thanks again for your help.
I've attached the meshed file.
Using other files, I was able to get it working with Gmesh, but not Netgen. But I'd suspect I do something wrong which has nothing to do with the mesher I select.
Do you see an issue in this file ?
Thanks again for your help.
- Attachments
-
- bimetal-gmsh.FCStd
- (360.98 KiB) Downloaded 49 times
Re: CalculiX "no material assigned" error
Your are right, the analysis in the file you attached doesn't work. Then I used compound filter from part workbench on boolean fragments and the analysis worked quite fine.
Maybe you try the attached file...
- Attachments
-
- bimetal-gmsh2.FCStd
- (1013.96 KiB) Downloaded 45 times
Re: CalculiX "no material assigned" error
Sorry, in this simple-as-could-be example ELSET=SolidMaterialSolid and ELSET=SolidMaterial001Solid stays empty.
file:
tested with:
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13286 (Git)
Build type: Release
Branch: master
Hash: 88e8c98d345c31f7c16711cb1702e10fba21f6c1
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: German/Germany (de_DE)
also tested on 0.17.13303
Code: Select all
**********************************************************
** Element sets for materials and FEM element type (solid, shell, beam, fluid)
** written by write_element_sets_material_and_femelement_type function
*ELSET,ELSET=SolidMaterialSolid
*ELSET,ELSET=SolidMaterial001Solid
***********************************************************
file:
tested with:
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13286 (Git)
Build type: Release
Branch: master
Hash: 88e8c98d345c31f7c16711cb1702e10fba21f6c1
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: German/Germany (de_DE)
also tested on 0.17.13303
Re: CalculiX "no material assigned" error
confirmed on
OS: Debian GNU/Linux 9.3 (stretch)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13305 (Git)
Build type: Unknown
Branch: femtmp
Hash: dc763dbd127dcc85f826c228626bc3d0c9b45782
Python version: 2.7.13
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0
Locale: German/Switzerland (de_CH)
I'll have a look !
Re: CalculiX "no material assigned" error
as workaround use:
- gmsh object and set in preference --> FEM --> general --> create mesh groups for analysis reference shapes to true
- gmsh object and set in preference --> FEM --> general --> create mesh groups for analysis reference shapes to true