UAV-tutorial / compressible-solver
Moderator: oliveroxtoby
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
-
- Veteran
- Posts: 3156
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
UAV-tutorial / compressible-solver
Hi,
the opensimsa UAV-tutorial was updated.
First impressions:
Hard to mesh. When using the parameters from tutorial (base cell size 100 mm),
cfmesh gives back a bad mesh (with more then 1 Mio cells). The problems remains when
using cell-size 50 mm, the mesh is still looking weird.
When starting meshing, FC needs 3 min to generate the stl for OF.
Maybe thats a translation problem from XOR to stl.
I will try gmsh/SHM. Or the macros...
After updating the cfd-wb, there is a new solver option:
Compressible/High mach number:
Which solvers are used? rhoSimpleFoam and sonicFoam?
Fluid-properties, sutherland-constant:
The units kg/(m*s) imply that this is a dynamic viscosity. Is it the
reference-viscosity mu-0 in the sutherland-formula?
Initialise flow-field, temperature:
Is it the reference-temperature T-0 in formula?
Bondary conditions:
How must I use the new Far-field BC?
@oliver/bernd: great job guys, the cfd/fem-wb is a real stunning
engineering-tool
the opensimsa UAV-tutorial was updated.
First impressions:
Hard to mesh. When using the parameters from tutorial (base cell size 100 mm),
cfmesh gives back a bad mesh (with more then 1 Mio cells). The problems remains when
using cell-size 50 mm, the mesh is still looking weird.
When starting meshing, FC needs 3 min to generate the stl for OF.
Maybe thats a translation problem from XOR to stl.
I will try gmsh/SHM. Or the macros...
After updating the cfd-wb, there is a new solver option:
Compressible/High mach number:
Which solvers are used? rhoSimpleFoam and sonicFoam?
Fluid-properties, sutherland-constant:
The units kg/(m*s) imply that this is a dynamic viscosity. Is it the
reference-viscosity mu-0 in the sutherland-formula?
Initialise flow-field, temperature:
Is it the reference-temperature T-0 in formula?
Bondary conditions:
How must I use the new Far-field BC?
@oliver/bernd: great job guys, the cfd/fem-wb is a real stunning
engineering-tool
-
- Veteran
- Posts: 3156
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: UAV-tutorial / compressible-solver
I will see, if I can transform the imported iges-shells (from grabcad)
into a watertight solid to be sure, that the booleans work properly.
In the curves-wb is a tool "Make a parametric solid from selected faces"
(the green cube). For the front wheel it works...
into a watertight solid to be sure, that the booleans work properly.
In the curves-wb is a tool "Make a parametric solid from selected faces"
(the green cube). For the front wheel it works...
-
- Veteran
- Posts: 3156
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
- oliveroxtoby
- Posts: 837
- Joined: Fri Dec 23, 2016 9:43 am
- Location: South Africa
Re: UAV-tutorial / compressible-solver
Did you update the workbench before you did this? Because we have not experienced either of these issues.thschrader wrote: ↑Sun Aug 26, 2018 2:38 pm Hi,
the opensimsa UAV-tutorial was updated.
First impressions:
Hard to mesh. When using the parameters from tutorial (base cell size 100 mm),
cfmesh gives back a bad mesh (with more then 1 Mio cells). The problems remains when
using cell-size 50 mm, the mesh is still looking weird.
When starting meshing, FC needs 3 min to generate the stl for OF.
Maybe thats a translation problem from XOR to stl.
I will try gmsh/SHM. Or the macros...
EDIT: Sorry. I do have the mesh problem when I run it in 0.17. It is happy in 0.18. Investigating...
No, hisa.gitlab.io, a solver just released by my institution.After updating the cfd-wb, there is a new solver option:
Compressible/High mach number:
Which solvers are used? rhoSimpleFoam and sonicFoam?
No, unfortunately the units are wrong at present because FreeCAD currently doesn't accept fractional units (on my todo list). This is the C_1 constant referenced at https://www.cfd-online.com/Wiki/Sutherland%27s_lawFluid-properties, sutherland-constant:
The units kg/(m*s) imply that this is a dynamic viscosity. Is it the
reference-viscosity mu-0 in the sutherland-formula?
This is the initial temperature and it is used to calculate viscosity at initial time via the formula, but it doesn't relate to the reference temperature. The formula used uses C_1 and S, and T_0 is not used.Initialise flow-field, temperature:
Is it the reference-temperature T-0 in formula?
It is for specifying uniform free-stream flow conditions far away from a body, typically an aircraft, and prevents reflections of shocks back into the domain.Bondary conditions:
How must I use the new Far-field BC?
Thank you for the testing!@oliver/bernd: great job guys, the cfd/fem-wb is a real stunning
engineering-tool
Please provide all the information requested in this post before reporting problems with CfdOF.
- oliveroxtoby
- Posts: 837
- Joined: Fri Dec 23, 2016 9:43 am
- Location: South Africa
Re: UAV-tutorial / compressible-solver
That sounds like a really useful tool. But I have not had any issues with the tutorial as presented.thschrader wrote: ↑Sun Aug 26, 2018 3:51 pm I will see, if I can transform the imported iges-shells (from grabcad)
into a watertight solid to be sure, that the booleans work properly.
In the curves-wb is a tool "Make a parametric solid from selected faces"
(the green cube). For the front wheel it works...
UAV_modelCheck.JPG
EDIT: My bad. It was working fine with latest 0.18, but not with 0.17. Investigating...
Please provide all the information requested in this post before reporting problems with CfdOF.
- oliveroxtoby
- Posts: 837
- Joined: Fri Dec 23, 2016 9:43 am
- Location: South Africa
Re: UAV-tutorial / compressible-solver
It was not much of a 'tutorial' to begin with - the new UAV tutorial makes it obsolete. Is is still there on the repository - see https://github.com/opensimsa/opensim/tr ... tCases/CFDthschrader wrote: ↑Sun Aug 26, 2018 4:40 pm BTW:
The Millenium-Falcon tutorial on
https://opensimsa.github.io/training.html
has gone...
I_am_innocent.JPG
HanSolo1.JPG
Please provide all the information requested in this post before reporting problems with CfdOF.
-
- Veteran
- Posts: 3156
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: UAV-tutorial / compressible-solver
Updated cfd-of, problem remains. I have reimported the written XOR_Geometry.stl fromoliveroxtoby wrote: ↑Mon Aug 27, 2018 12:20 pm Did you update the workbench before you did this? Because we have not experienced either of these issues.
trisurface. In the mesh-design wb you can analyze the stl. Try this on your machine.
When the stl writing process is identical, you should get the same result.
However, I will try to redesign the UAV in FC. This is a nice
model to play with curves/surface-wb. My system:
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14315 (Git)
Build type: Release
Branch: master
Hash: 5f8f26824486b55b2bf72c579e95f0f6d4a19284
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: German/Germany (de_DE)
- oliveroxtoby
- Posts: 837
- Joined: Fri Dec 23, 2016 9:43 am
- Location: South Africa
Re: UAV-tutorial / compressible-solver
This should be fixed now. I don't think it was appropriate to use XOR here. Slice seems to do the job. For some reason (probably sheer luck), XOR worked for me originally on a version that was linked to OCC 6.9 (which happened to be my 0.18 version, but it was nothing to do with that)...thschrader wrote: ↑Mon Aug 27, 2018 2:09 pmUpdated cfd-of, problem remains. I have reimported the written XOR_Geometry.stl fromoliveroxtoby wrote: ↑Mon Aug 27, 2018 12:20 pm Did you update the workbench before you did this? Because we have not experienced either of these issues.
trisurface. In the mesh-design wb you can analyze the stl. Try this on your machine.
When the stl writing process is identical, you should get the same result.
However, I will try to redesign the UAV in FC. This is a nice
model to play with curves/surface-wb. My system:
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14315 (Git)
Build type: Release
Branch: master
Hash: 5f8f26824486b55b2bf72c579e95f0f6d4a19284
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: German/Germany (de_DE)
uav_cfmesh_tutorial.JPG
checkMesh.JPG
meshWB_analyse_stl.JPG
Please provide all the information requested in this post before reporting problems with CfdOF.
-
- Veteran
- Posts: 3156
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: UAV-tutorial / compressible-solver
Slice (and the updated wb) is the way. Thanks for the fast fixing.oliveroxtoby wrote: ↑Mon Aug 27, 2018 8:44 pm This should be fixed now. I don't think it was appropriate to use XOR here. Slice seems to do the job. For some reason (probably sheer luck), XOR worked for me originally on a version that was linked to OCC 6.9 (which happened to be my 0.18 version, but it was nothing to do with that)...
Lets have fun with the tutorial.
-
- Veteran
- Posts: 3156
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: UAV-tutorial / compressible-solver
Updated cfd-of wb.
Updated cfmesh.
Installed HiSA-solver via preferences/cfd. Installation ok, dependencies ok.
I want to simulate the openfoam "prism" tutorial with FC (Mach 2 flow along prism)
When writing the case I still get error "compressible model currently not supported"
Maybe my workflow is wrong?
Updated cfmesh.
Installed HiSA-solver via preferences/cfd. Installation ok, dependencies ok.
I want to simulate the openfoam "prism" tutorial with FC (Mach 2 flow along prism)
When writing the case I still get error "compressible model currently not supported"
Maybe my workflow is wrong?