UAV-tutorial / compressible-solver

A subforum specific to the development of the OpenFoam-based workbenches ( Cfd https://github.com/qingfengxia/Cfd and CfdOF https://github.com/jaheyns/CfdOF )

Moderator: oliveroxtoby

User avatar
oliveroxtoby
Posts: 322
Joined: Fri Dec 23, 2016 9:43 am
Location: South Africa

Re: UAV-tutorial / compressible-solver

Postby oliveroxtoby » Wed Sep 05, 2018 10:06 pm

thschrader wrote:
Wed Sep 05, 2018 12:41 pm
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?
prism.FCStd
prism_tutorial.JPG
cfmesh_prism.JPG
Did you select the "High Mach number" option in the physics panel? This will choose the HiSA solver.
Please provide all the information requested in this post before reporting problems with CfdOF.
thschrader
Posts: 1419
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: UAV-tutorial / compressible-solver

Postby thschrader » Thu Sep 06, 2018 3:48 pm

oliveroxtoby wrote:
Wed Sep 05, 2018 10:06 pm
Did you select the "High Mach number" option in the physics panel? This will choose the HiSA solver.
Yes, but I cant write the case.
during Hisa installation there appeared some red lines in the report view,
"Error occurred with cv2pdb, have stripped binary as a workaround"
See lines 85,99,113,130,143,160,173,186 in log-file
log_Allwmake.txt
(81.5 KiB) Downloaded 17 times
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)
case_write.JPG
case_write.JPG (156.82 KiB) Viewed 677 times
User avatar
oliveroxtoby
Posts: 322
Joined: Fri Dec 23, 2016 9:43 am
Location: South Africa

Re: UAV-tutorial / compressible-solver

Postby oliveroxtoby » Fri Sep 07, 2018 3:44 pm

thschrader wrote:
Thu Sep 06, 2018 3:48 pm
during Hisa installation there appeared some red lines in the report view,
"Error occurred with cv2pdb, have stripped binary as a workaround"
See lines 85,99,113,130,143,160,173,186 in log-file
Those are nothing to worry about.

The error shown in the screenshot was a bug and should be fixed now...thanks for the report.
Please provide all the information requested in this post before reporting problems with CfdOF.
thschrader
Posts: 1419
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: UAV-tutorial / compressible-solver

Postby thschrader » Fri Sep 07, 2018 3:57 pm

oliveroxtoby wrote:
Fri Sep 07, 2018 3:44 pm
Those are nothing to worry about.

The error shown in the screenshot was a bug and should be fixed now...thanks for the report.
To be sure: I only update the cfd-wb, no reinstalling of HiSA. correct?
Oliver, many thanks to you and the CSIR-team for providing this
new solver to the community.
thschrader
Posts: 1419
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: UAV-tutorial / compressible-solver

Postby thschrader » Sat Sep 08, 2018 1:22 pm

oliveroxtoby wrote:
Fri Sep 07, 2018 3:44 pm
The error shown in the screenshot was a bug and should be fixed now...thanks for the report.
Updated cfd-wb /Freecad. A new error comes up when writing HiSA-case.
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14575 (Git)
Build type: Release
Branch: master
Hash: a624fee2c27bbbb869df6a8ce40438953a282a8c
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)
write_case.JPG
write_case.JPG (99.89 KiB) Viewed 639 times
User avatar
oliveroxtoby
Posts: 322
Joined: Fri Dec 23, 2016 9:43 am
Location: South Africa

Re: UAV-tutorial / compressible-solver

Postby oliveroxtoby » Sat Sep 08, 2018 8:43 pm

thschrader wrote:
Sat Sep 08, 2018 1:22 pm
Updated cfd-wb /Freecad. A new error comes up when writing HiSA-case.
Hopefully also sorted out.
Please provide all the information requested in this post before reporting problems with CfdOF.
thschrader
Posts: 1419
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: UAV-tutorial / compressible-solver

Postby thschrader » Sat Sep 08, 2018 9:37 pm

oliveroxtoby wrote:
Sat Sep 08, 2018 8:43 pm
Hopefully also sorted out.
:) Case writing ok, HiSA runs.
controlDict.JPG
controlDict.JPG (16.14 KiB) Viewed 623 times
U.JPG
U.JPG (22.1 KiB) Viewed 623 times
thschrader
Posts: 1419
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: UAV-tutorial / compressible-solver

Postby thschrader » Thu Sep 20, 2018 10:40 pm

Hisa-solver:
9 mm bullet shooting through pipe at Mach 1,6.
Inspired by
https://www.youtube.com/watch?v=D6iuVr9V6os
p.JPG
p.JPG (35.88 KiB) Viewed 440 times
U.JPG
U.JPG (36.77 KiB) Viewed 440 times
thschrader
Posts: 1419
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: UAV-tutorial / compressible-solver

Postby thschrader » Wed Sep 26, 2018 8:18 pm

Falcon 9 passing max-Q. I could play hours with the cfd-wb.
falcon9.FCStd
(51.47 KiB) Downloaded 20 times
maxQ.JPG
maxQ.JPG (47.83 KiB) Viewed 392 times
pressure_pascal.JPG
pressure_pascal.JPG (19.49 KiB) Viewed 392 times
temperature_kelvin.JPG
temperature_kelvin.JPG (21.23 KiB) Viewed 392 times
velocity_meter_per_second.JPG
velocity_meter_per_second.JPG (23.61 KiB) Viewed 392 times
shIxx
Posts: 33
Joined: Wed Mar 28, 2018 10:13 am
Location: Bavaria (Germany)

Re: UAV-tutorial / compressible-solver

Postby shIxx » Mon Oct 01, 2018 11:06 am

Hi guys,
I do not know if this fits in here, but I did not want to start a new thread.
I have all tutorials through and am quite familiar with the cfdOF -wb now. Only at the 4th (the UAV tutorial) I can not get on. I did everything as described but I always get an error message and the solver does not expect anything useful (see screenshot).

What I have done:
PhysicsModel: Stady, turbulent case.
FluidProperties: Air
InitialiseFields: Potential flow
openFOAM: parallel true (4), conv.criteria 1e-3, 2000 iterations
Inlet: y = 5m/s and z = -20m/s

Instead of the slice operator I have used XOR (you can see it on the tutorial screenshot as well even if there is written "slice") and it only works with XOR otherwise the model disappears! -> The mesh was well generated (looks like the tutorial)

I don't know why it does not work.
The file is too large to attach.
Attachments
mesh.JPG
mesh.JPG (432.39 KiB) Viewed 370 times
error.JPG
error.JPG (295.95 KiB) Viewed 370 times
CAD.JPG
CAD.JPG (165.14 KiB) Viewed 370 times