|
[Sponsors] |
October 30, 2006, 12:09 |
UNV IO Source Code
|
#1 |
Member
Doug Baldwin
Join Date: Mar 2009
Posts: 53
Rep Power: 17 |
Hello. A robust UNV to OpenFOAM conversion may be possible using the open source UNV_IO module included with the LIBMESH GNU library. This UNV_IO module supports TRI, QUAD, TET, PRISM, & HEX.
I would really like to use Salmone with OpenFOAM. Unfortunately, I am not a C-coder. I trust that what I have found may be useful in furthering the utility of OpenFOAM. Documentation, header, source, and examples are available at the following sourceforge URLs: Documentation is available at: http://libmesh.sourceforge.net/doxygen/classUNVIO.php The header files are available at: http://libmesh.sourceforge.net/doxyg..._8h-source.php The source code is available at: http://libmesh.sourceforge.net/doxyg..._8C-source.php Examples are available at: http://libmesh.sourceforge.net/ex12.php BTW, the CAElinux Beta 3A announced utility for converting UNV to OpenFOAM is simply a copy of the code from this forum posted at http://www.cfd-online.com/cgi-bin/Op...=9823#POST9823 Please disregard if this information is unhelpful. Doug |
|
November 1, 2006, 13:03 |
The specification for UNV form
|
#2 |
Member
Doug Baldwin
Join Date: Mar 2009
Posts: 53
Rep Power: 17 |
The specification for UNV format 2412 is available here:
http://www.sdrl.uc.edu/uff/SDRChelp/...g/UNV_2412.htm All UNV specs are available here: http://www.sdrl.uc.edu/uff/SDRChelp/...nglish/unv_ug/ Illustrations showing the UNV mapping of points for elements is available in the libmesh documentation. For instance: TET4: 3 o /|\ / | \ / | \ 0 o...|...o 2 \ | / \ | / \|/ o 1 (sorry, the white-space got compressed) ...is copied from here: http://libmesh.sourceforge.net/doxygen/classTet4.php Many other UNV element type illustrations can be accessed from the page here: http://libmesh.sourceforge.net/doxygen/index.php Now, if could only write C++. I am eager to learn... |
|
November 2, 2006, 21:45 |
You can also check the codes p
|
#3 |
Senior Member
Billy
Join Date: Mar 2009
Posts: 167
Rep Power: 17 |
You can also check the codes posted at:
http://www.cfd-online.com/OpenFOAM_D...es/1/2934.html Maybe you can test these and add your contribution. |
|
March 2, 2008, 15:30 |
Has anyone have some tips rega
|
#4 |
Senior Member
Mark Couwenberg
Join Date: Mar 2009
Location: Netherlands
Posts: 130
Rep Power: 17 |
Has anyone have some tips regarding importing meshes in OpenFOAM? As most messages I read are from 2006 or earlier it seems that many of those attempts failed. E.g.: did finally anyone succeed with Salome and unvToFoam?
Is Netgen still alive? I am trying to use GiD. The problem so far is that I do not know how to define/name/label boundary faces yet. Can anyone explain a clear and proven procedure about going from Iges to mesh to OpenFoam? Thanks in advance, Mark |
|
March 7, 2008, 09:47 |
Yes, i succesfully converted m
|
#5 |
Senior Member
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21 |
Yes, i succesfully converted my mesh from SALOME (3.2.6) to OpenFOAM (1.4.1)
Exporting procedure may be like this 1) Save geometry to IGES (I'm using BREP) format 2) Import IGES (or BREP) to Salome (in GEOM Module) 3) Explode obtained in 2 step compound object (for example, file.brep) into volumes 4) Define boundaries as groups 5) switch in Salome to SMESH module 6) mesh geomtry 7) define face groups for obtained mesh (BC) 8) export to UNV format 9) ideasUnvToFoam sorry for bad english
__________________
MDPI Fluids (Q2) special issue for OSS software: https://www.mdpi.com/journal/fluids/..._modelling_OSS GitHub: https://github.com/unicfdlab Linkedin: https://linkedin.com/in/matvey-kraposhin-413869163 RG: https://www.researchgate.net/profile/Matvey_Kraposhin |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 | Seroga | OpenFOAM Community Contributions | 9 | June 12, 2015 18:18 |
friction forces icoFoam | ofslcm | OpenFOAM | 3 | April 7, 2012 11:57 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 02:24 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |