Hello again,
Since I had no success in using compound for combining bodies into one model for sliding mesh model, I try now to write own cases for the parts and combine them by adding other mesh definitions to first one. However I can't understand the workflow for writing out even one complete part case:
First I have written out meshCase from CFD Mesh tab->Write mesh case and then ->Run mesher. This produces beautiful mesh with necessary refinements with all boundary grouped as I have given them. Paraview can present them OK.
Then I have written out case from Analysis control tab->Write. Something goes wrong and Paraview can't show anything.
I tried to understand how to combine the model's folders "meshCase" and "case" together to form a complete model, but things got a bit confusing. Both have polyMesh directories, both including boundary definitions, both have also system directories with some duplicates. I tried to combine them manually with no success.
I assume there is a method how to do this and make choices creating output later needed for manual AMI definition, but currently I am totally stuck and ask for instructions to get forward. Any guidance is most appreciated. I wouldn't like to take another jump to deep end with Salome, if only it is possible to avoid.
No success in writing a OF case
Moderator: oliveroxtoby
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
Re: No success in writing a OF case
Ok, I answer this myself. I managed to write the caseMeshes and cases for two bodies. It was mainly my own fault, I didn't understand to take all necessary actions for this.
However I didn't manage to combine them properly to one mesh with mergeMeshes command. Something is always missing. Looks like FreeCAD writes the meshes a bit special way, and OpenFOAM does not understand what there is. I tried with OF 2212, some other version might work better. What's always seem to be missing is some of the patch definitions for AMI boundaries. I try to figure out how to get them. Any ideas are most welcome!
However I didn't manage to combine them properly to one mesh with mergeMeshes command. Something is always missing. Looks like FreeCAD writes the meshes a bit special way, and OpenFOAM does not understand what there is. I tried with OF 2212, some other version might work better. What's always seem to be missing is some of the patch definitions for AMI boundaries. I try to figure out how to get them. Any ideas are most welcome!
-
- Veteran
- Posts: 3129
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: No success in writing a OF case
Maybe you can use this as a start:
https://www.openfoam.com//documentation ... g-fan.html
https://www.youtube.com/watch?v=qtN256WJ-5I
I will try to rebuilt this in FC, but I can promise nothing.
At the moment I am drowning in work...
https://www.openfoam.com//documentation ... g-fan.html
https://www.youtube.com/watch?v=qtN256WJ-5I
I will try to rebuilt this in FC, but I can promise nothing.
At the moment I am drowning in work...