Freecad 2D brep files failed to show up in gmsh (solved)
Moderator: bernd
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
Freecad 2D brep files failed to show up in gmsh (solved)
I have been trying to model the flow in a piping system. I created a sketch in freecad and have tried several approaches to creating a 2D surface and then exporting the results as a .brep file to gmsh. The files do not show up on the gmsh GUI. I have tried to use the surface workbench and the part workbench to create a surface. Neither seem to work. Attached is the freecad file for the project.
Thanks for you reply
Gary R
Thanks for you reply
Gary R
- Attachments
-
- PointContact.FCStd
- (14.02 KiB) Downloaded 27 times
Last edited by Gary R on Tue Jan 18, 2022 6:05 pm, edited 1 time in total.
Re: Freecad 2D brep files failed to show up in gmsh
I'm not at all sure about this, but doesn't it need something 3dimensional to model airflow?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Freecad 2D brep files failed to show up in gmsh
It depends on what you're trying to model. You don't need a 3D model unless you're trying to capture a 3D phenomena (e.g., turbulence). It's pretty common to use a two-dimensional model to get a general sense of what the system is doing (pressures, velocities, etc.) since it computes so much faster, and then go to three dimensions as needed for additional information.
Re: Freecad 2D brep files failed to show up in gmsh
Thanks for the info! Should I move this to the FEM forum?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Freecad 2D brep files failed to show up in gmsh
KAKM is correct . I use 2D for all kinds of symmetric models but have a chronic problem of things not showing up in gmsh. I know that I am doing something fundamentally wrong but what?
Gary R
Gary R
Re: Freecad 2D brep files failed to show up in gmsh
Figured it out. I think you had the body selected when you clicked export–that yields an empty file. If you select the three surfaces of interest, then click export, the resultant file is (I think) what you wanted. It opened in gmsh just fine for me.
It might be easier to find there for someone with a similar question later. Or it might not be.
Re: Freecad 2D brep files failed to show up in gmsh
Important for that are the FreeCAD infos (see red banner above), the VTK version and the report output.
Just said: atm FEM with gnsh have issues with VTK > 7 .
Greetings
user1234
edit: minor typo
Just said: atm FEM with gnsh have issues with VTK > 7 .
Greetings
user1234
edit: minor typo
Re: Freecad 2D brep files failed to show up in gmsh
Moved.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Freecad 2D brep files failed to show up in gmsh {solved}
My sketch essentially contains 3 parts. If I use the surface workbench on each part separately and then highlite all 3 surfaces to export, gmsh works fine.
I included the new file.
Gary R
I included the new file.
Gary R
- Attachments
-
- PointContact.FCStd
- (13.54 KiB) Downloaded 20 times
Re: Freecad 2D brep files failed to show up in gmsh (solved)
So, now i can test files. For me all files meshes fine. But i get on the newer file errors in the sketch. This is probably because you use an older (or other) version of FreeCAD (i do not know, since i have no infos). But as long it works for you.
testet with: with:
gmsh 4.9.0
VTK 7.1.1
Greetings
user1234
testet with:
Code: Select all
OS: Debian GNU/Linux 11 (bullseye) (X-Cinnamon/lightdm-xsession)
Word size of FreeCAD: 64-bit
Version: 0.20.27089 (Git)
Build type: Release
Branch: master
Hash: ead1bce8e994358388fd6dd993f0c9b756ec0eac
Python version: 3.9.2
Qt version: 5.15.2
Coin version: 4.0.0
OCC version: 7.6.0
Locale: English/United States (en_US)
gmsh 4.9.0
VTK 7.1.1
Greetings
user1234