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

[Other] Importing a mesh in system memory using C directly to OpenFoam Solvers

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 9, 2006, 16:44
Default Importing a mesh in system memory using C directly to OpenFoam Solvers
  #1
New Member
 
Juan Fernando Duque Lombana.
Join Date: Mar 2009
Posts: 14
Rep Power: 17
juanduque is on a distinguished road
Hi there,

I'm relatively new to openFoam, and I'm interested in programming applications to solve specific fluid case problematics.

Inside our work team, we've developed a mesher that suits our needs, and rather than writting ASCII text files with different mesh formats (CFX, Netgen neutral, etc...) I want to directly pass the mesh information to the icoFoam solver for example. The applications I've been developing are totally c++ written, so, as I've read, there should be "no problem" ( ;) ) assemblying my source-code with the openFoam solver.

Does anyone knows where I can start looking for any source code-examples-howto? It would be REALLY appreciated.

Thanks in advance,
juanduque is offline   Reply With Quote

Old   August 10, 2006, 05:15
Default Look at one of the mesh conver
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Look at one of the mesh converters. E.g. ccm24ToFoam constructs the fvMesh from points,faces,cells and adds patches (addFvPatches)
mattijs is offline   Reply With Quote

Reply


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
Tool to convert OpenFoam mesh to SU2 mesh (2D and 3D) Combas SU2 45 October 16, 2024 18:26
OpenFOAM 5.0 Released CFDFoundation OpenFOAM Announcements from OpenFOAM Foundation 11 June 6, 2018 00:48
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 15:24
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 10:38
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20


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