CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] Implementation of searchableCone in OpenFOAM 7

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By FaroukH

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 10, 2020, 11:42
Default Implementation of searchableCone in OpenFOAM 7
  #1
New Member
 
S A
Join Date: Oct 2019
Posts: 8
Rep Power: 6
Propanotriol is on a distinguished road
I am using OF7 for my master thesis, and I deal with an injection nozzle, so I would really like to use a cone volume to generate refinements.

This is possible with OF.com (searchableCone) but not OF.org (which I am mandate to use...).

I tried to implement the searchableCone code into OF.org but not successfully...

Basically I copied the codes from OF.com and modifying the lines that needed to be eliminated (based on searchableCylinder.C and .H of OF.org already implemented).

Then I create a symbolic link in the libmeshTools.

But nothing works, obviously. I need to implement a library .so probably but this goes beyond my knowledge.

It is possible because I found an old (from this year) post where @Tobermory achieved that and I was so impressed, but sadly the post do not provide enough information (really sad).

Implementing searchableCone primitive in snappyHexMesh

Can you help me to achieve that and let it posted for the eternity and help other people? at least the procedure...

Propanotriol.
Propanotriol is offline   Reply With Quote

Old   January 15, 2021, 12:47
Default
  #2
New Member
 
Farouk
Join Date: Jul 2020
Posts: 11
Rep Power: 5
FaroukH is on a distinguished road
Hey!

This is probably too late, but I am posting it here for anyone else who needs it.

I needed to create a trapezoidal shaped zone in 2D and implemented searchableCone in OF7 by fixing compilation errors of the source code from openfoam.com. It is mostly syntax and some classes that do not exist (such as the mag(U) normalized velocity vector class, this was easily fixed).


Farouk
Attached Files
File Type: zip searchableSurfaces.zip (45.8 KB, 21 views)
DDDaali likes this.
FaroukH is offline   Reply With Quote

Reply

Tags
openfoam7, searchablecone, searchablecylinder, snappy, snappyhexmesh


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 10 September 2, 2021 05:29
OpenFOAM course for beginners Jibran OpenFOAM Announcements from Other Sources 2 November 4, 2019 08:51
FGM combustion model implementation into OpenFoam R.Mah OpenFOAM 1 November 15, 2016 04:15
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 January 5, 2016 03:18
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 cfd.direct OpenFOAM Announcements from Other Sources 2 August 31, 2015 13:36


All times are GMT -4. The time now is 16:03.