Computational Fluid Dynamics (CFD) workbench using OpenFOAM

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
Crossleyuk
Posts: 165
Joined: Wed Jun 20, 2018 7:47 am
Location: United Kingdom
Contact:

Re: Computational Fluid Dynamics (CFD) workbench using OpenFOAM

Post by Crossleyuk »

Thank you Syres,

Things have got suddenly complicated so I'll have to stop for a few weeks. I've spent the last days revisiting my previous work and picked up a few observations and errors. I'm going to put a note together, for my own benefit, so hope I'll have a better idea of my limitations. Basically, I cannot repeat my previous successful cases obtained before my FC upgrade, even when entering the new 0.19.4 data into my original workbooks. Result is I must spend time investigating my analytic approach.

But thanks again, I will certainly follow your latest suggestions because I love your cutting approach and need to also understand that far better. It will be at least a month before I can get back to my work.

Cheers

Michael
User avatar
Crossleyuk
Posts: 165
Joined: Wed Jun 20, 2018 7:47 am
Location: United Kingdom
Contact:

Re: Computational Fluid Dynamics (CFD) workbench using OpenFOAM

Post by Crossleyuk »

Syres wrote: Sun Jul 24, 2022 7:05 pm
Crossleyuk wrote: Fri Jul 22, 2022 1:19 pm I still have a massive amount to learn. I'll endeavour to follow your suggestions.
Attached is the step-by-step guide and a demo file along with it. Sketcher Wb is a subject in it's own right and if you aren't already aware chrisb has written a thorough doc on it's use available in English at https://owncloud.gwdg.de/index.php/s/eZ ... 9/download
Million Thanks Syres. I'm overcoming situations and can't wait to use you help and documents.

Thank You

Michael
thschrader
Veteran
Posts: 3129
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Computational Fluid Dynamics (CFD) workbench using OpenFOAM

Post by thschrader »

Checkmesh doesnt work. It seems, that the meshQualityDict is not written.
Just updated cfdof-wb. Rest of sim runs fine.
File:
ASI4518R37v07_Rohr_cfd.FCStd
(198.16 KiB) Downloaded 61 times

Error:

Code: Select all

--> FOAM FATAL ERROR: 
cannot find file "C:/GA-NT/Anwendungen/TS_513538/CFD/meshCase/system/meshQualityDict"

    From function virtual Foam::autoPtr<Foam::ISstream> Foam::fileOperations::uncollatedFileOperation::readStream(Foam::regIOobject&, const Foam::fileName&, const Foam::word&, bool) const
    in file global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.C at line 555.

FOAM exiting

System:

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.30669 (Git)
Build type: Release
Branch: master
Hash: 48b4eed55c05452d2cbabb9a8ba4c75e1a54481e
Python 3.10.6, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: German/Germany (de_DE)
Installed mods: 
  * BIM
  * CfdOF 1.19.1
  * Curves 0.5.8
  * Defeaturing 1.2.0
  * dodo
  * fasteners 0.4.4
  * Manipulator 1.4.9
  * Plot 2022.4.17
  * Reinforcement
  * WorkFeature
User avatar
oliveroxtoby
Posts: 810
Joined: Fri Dec 23, 2016 9:43 am
Location: South Africa

Re: Computational Fluid Dynamics (CFD) workbench using OpenFOAM

Post by oliveroxtoby »

thschrader wrote: Thu Oct 20, 2022 4:30 pm Checkmesh doesnt work. It seems, that the meshQualityDict is not written.
Just updated cfdof-wb. Rest of sim runs fine.
File:
ASI4518R37v07_Rohr_cfd.FCStd
Sorry - committed something by mistake. Should be fixed now.
thschrader
Veteran
Posts: 3129
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Computational Fluid Dynamics (CFD) workbench using OpenFOAM

Post by thschrader »

oliveroxtoby wrote: Sat Oct 22, 2022 6:35 pm Sorry - committed something by mistake. Should be fixed now.
CheckMesh is back again, works, thanks.
thschrader
Veteran
Posts: 3129
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Computational Fluid Dynamics (CFD) workbench using OpenFOAM

Post by thschrader »

Good day!
Two questions, please:
There is a new meshing button, called "Dynamic mesh refinement".
How can I activate the button and what can I do with it?

When looking up the results in paraview, there is a new default entry "CleantoGrid1".
Why?

Regards Thomas
two_questions.JPG
two_questions.JPG (74.16 KiB) Viewed 2285 times
User avatar
oliveroxtoby
Posts: 810
Joined: Fri Dec 23, 2016 9:43 am
Location: South Africa

Re: Computational Fluid Dynamics (CFD) workbench using OpenFOAM

Post by oliveroxtoby »

thschrader wrote: Sun Oct 30, 2022 5:30 pm There is a new meshing button, called "Dynamic mesh refinement".
How can I activate the button and what can I do with it?
This is for dynamic refinement of the mesh at interfaces in multiphase cases - see the DamBreak3D demo case.
When looking up the results in paraview, there is a new default entry "CleantoGrid1".
Why?
See this forum thread.
User avatar
Crossleyuk
Posts: 165
Joined: Wed Jun 20, 2018 7:47 am
Location: United Kingdom
Contact:

Re: Computational Fluid Dynamics (CFD) workbench using OpenFOAM

Post by Crossleyuk »

Crossleyuk wrote: Wed Sep 14, 2022 9:44 pm
Syres wrote: Sun Jul 24, 2022 7:05 pm
Crossleyuk wrote: Fri Jul 22, 2022 1:19 pm I still have a massive amount to learn. I'll endeavour to follow your suggestions.
Attached is the step-by-step guide and a demo file along with it. Sketcher Wb is a subject in it's own right and if you aren't already aware chrisb has written a thorough doc on it's use available in English at https://owncloud.gwdg.de/index.php/s/eZ ... 9/download
Million Thanks Syres. I'm overcoming situations and can't wait to use you help and documents.

Thank You

Michael
Thank you once more Syres. It's taken me a long time, following a major house move, to finaly be able to offer a response. Your drafting advice was fantastic and I have a new results to show. When I remember how to attach them :roll: :-)

Michael
thschrader
Veteran
Posts: 3129
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Computational Fluid Dynamics (CFD) workbench using OpenFOAM

Post by thschrader »

Good Day!
I want to share a real live case on which I have worked.

Change of an existing antenna-mast in an old house in Hamburg, Germany.
As you can see from the picture, the area in the roof is not so nice, the
new mast is only 8,5 m high, but the loading on the roof/walls is critical.
From my statics calculation I got 2 kN resulting wind force on the cluster,
and I wanted to check this with a full 3D-run with cfd.
Wind speed is 150 km/h, Re=5*10^6. Runtime sim over 8 hours on intel i7 16 GB RAM


Before this I ran a test case on a traffic sign.
The conclusion is that you can use gmsh without boundary-layers, but with turbulence.
For the 5G-cluster, gmsh runs blind-fast.
The viscous terms in the results are negligible, for structures like this and very high Re-numbers.
antenna_mast_old.JPG
antenna_mast_old.JPG (37.8 KiB) Viewed 1576 times
planned.JPG
planned.JPG (48.32 KiB) Viewed 1576 times
mesh.JPG
mesh.JPG (138.67 KiB) Viewed 1576 times
Attachments
forces_5G.JPG
forces_5G.JPG (77.24 KiB) Viewed 1576 times
Last edited by thschrader on Fri Apr 28, 2023 1:56 pm, edited 1 time in total.
thschrader
Veteran
Posts: 3129
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Computational Fluid Dynamics (CFD) workbench using OpenFOAM

Post by thschrader »

traffic001.JPG
traffic001.JPG (31.87 KiB) Viewed 1575 times
traffic002.JPG
traffic002.JPG (113.05 KiB) Viewed 1575 times
trafficBridgeSignCFD.FCStd
(51.29 KiB) Downloaded 38 times
5G_Cluster-2D_cfd.FCStd
(496.9 KiB) Downloaded 38 times
5G_Cluster_3D_cfd.FCStd
(313.92 KiB) Downloaded 42 times
Post Reply