Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conservation of certain areas #47

Open
Turbomichi opened this issue Feb 16, 2025 · 3 comments
Open

Conservation of certain areas #47

Turbomichi opened this issue Feb 16, 2025 · 3 comments

Comments

@Turbomichi
Copy link

Turbomichi commented Feb 16, 2025

Is there a way to conserve certain areas or shapes of my object?

For example if I have a rectangular beam, I want to still have the rectangular shape and only within there should be a topology optimization?
This kind of optimization can be done for example in Z88Arion.

Like you did in Example 3 with the non-design spaces but with the FreeCAD.

Thanks and greetings.

@fandaL
Copy link
Collaborator

fandaL commented Feb 17, 2025

Optimization domain is defined by the elset_name in the beso_config.py Elements which are not in this elset are not optimized.
If you use FreeCAD macro, it can be done as well. When preparing the model, create a separate material object for what you want to optimize and separate material object for areas not intended for the optimization. In the beso_fc_gui.py you then select only the material object to be optimized. Or, you can use also the column Domain 1 or Domain 2 and untick As design domain so that this area will be visible in the resulting mesh, but not optimized.

@Turbomichi
Copy link
Author

What exactly do you mean by separate material object? I can create seperate bodies in FreeCAD but how does the *.inp-file know which are the different Domains. I always only have one Domain. How do I create different Domains in FreeCAD so that the GUI can distinguish them? And is there an in depth explanation of the complete GUI?
Thank you so far.

@fandaL
Copy link
Collaborator

fandaL commented Feb 20, 2025

When preparing the geometry, you need to make partitions
FEM_Geometry_Preparation_and_Meshing
It will make parts which can be selected, when you are creating a material object
FEM_MaterialSolid
The GUI does not have a manual. There are only tool tips when you hover a mouse.

Image

I used very course mesh, but preserved domain in the middle is clear in the resulting mesh:

Image

FreeCAD file
multidomain.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants