Hypermesh
Hello everybody,
Is it possible to read in a mesh generated by Hypermesh? Hypermesh is from Altair part of the hyperworks package. I've tried several outputs, Among which Ideas and Ansys, but they do not work. They all give the same error: --> FOAM FATAL ERROR : points deallocated From function const pointField& polyMesh::allPoints() const in file meshes/polyMesh/polyMesh.C at line 656. FOAM aborting Has anybody got an idea? If not I will contact hyperworks and ask them for different mesh outputs. regards Guido |
The message comes from the mes
The message comes from the mesh being empty so it looks like the conversion has failed.
The ideasToFoam was written some time ago to convert a mesh input file coming from Ansys. We only tested it on flange.ans from the laplacianFoam tutorial. |
We managed to convert a hyperM
We managed to convert a hyperMesh file.
- export to Ansys - if nessecary replace all DOS linefeeds with Unix ones (e.g. with dos2unix) - use ideasToFoam |
Hello Mattijs,
Thanks for t
Hello Mattijs,
Thanks for the update. I also just received a message from hypermesh-people that it should work. I believe they have contacted you for this. :-) I just tested it myself and it works indeed, thanks for your help! Guido |
Hello Guido, Hello Mattjis,
I
Hello Guido, Hello Mattjis,
I tried to read an IDEAS file generated by ICEM with ideasToFoam and I got exactly the same error message as Guido. -------------------- --> FOAM FATAL ERROR : points deallocated From function const pointField& polyMesh::allPoints() const in file meshes/polyMesh/polyMesh.C at line 656. FOAM aborting Aborted -------------- I then executed dos2unix (since I generated the file on a windows machine) but still no success. Can anybody help? Regards and thanks Vivek |
- check the file for DOS linef
- check the file for DOS linefeeds.
- check the contents of the file. Compare to the flange.ans file in the laplacianFoam tutorial. Do you have 'N' (nodes), 'EN' (elements) and 'SFE' (boundary faces)? (all the other fields are discarded) |
Hello,
If you have created
Hello,
If you have created the mesh with hypermesh you indeed will have to use something like dos2unix, since hypermesh writes out the mesh-files in dos-format. I've spoken to some people from hypermesh last week. They are now working on a conversion from hypermesh directly to openFOAM. I've provided them with some examples of the mesh-files from openFOAM and they will create either a conversion tool or maybe even a direct export option inside hypermesh. The more people that ask hypermesh for a port to openfoam, the more likely that they will built it in to their next release. kind regards Guido |
Mattijs:
My IDEAS file diffe
Mattijs:
My IDEAS file differ comopeletly from what lies in the .ans file from the laplacianFoam tutorial. I have checked my IDEAS file, it has no N, EN and SFE flags. Guido: I have not generated the IDEAS file with hypermesh but with another grid generation tool known as ICEM. I am still not finding a way to export my mesh from ICEM to OpenFOAM. From ICEM, I can export my grid file to the follwoing unstructured grid formats: ANSYS, ANSYS-CFX, IDEAS and PATRAN Can you help? regards Vivek |
export to fluent, you'll get a
export to fluent, you'll get a *.cas file. Then you can use fluentToFoam utility.
Nico |
Nicolas
As I wrote in my prev
Nicolas
As I wrote in my previous mail, I can only export my mesh in the follwoing formats as per output module of ICEM: ANSYS, ANSYS-CFX, IDEAS and PATRAN Other exports require an additional ICEM license which I do not have at the moment. Export to fluent: is it fluent_V4 or fluent_V6 export? Can anyone give me a solution? I am getting very frustated with the very first step of getting aquianted with OpenFOAM. thanks VK |
Try the Ansys format. See if i
Try the Ansys format. See if it is similar to that flange.ans one. If so try the ideasToFoam (in the new version it has been renamed to ansysToFoam)
|
Actually Mattijs, that one is
Actually Mattijs, that one is very problematic: it reads the Ansys input file (creating vertices etc as an Ansys script) rather than the actual mesh. It came as a way of getting a mesh from Ideas and we didn't have a sensible export format. I'm not sure we've got a converter that can read the ansys mesh.
Hrv |
Hi all, which is the actual si
Hi all, which is the actual situation with Hypermesh? I tried to use ideasUnvToFoam to convert files but I still got some problems. Is there someone who succeeded in solving it?
Thank you in advance Francesco |
Hello Francesco,
I'm using
Hello Francesco,
I'm using Hypermesh to create my mesh-files and import them into OF. Which version are you using? We have had an update to write native fluent / star, etc formats. I'm using the fluent format, which I convert by using fluentMeshToFoam. This works perfectly. The problem with the current release is that they write nastran files, even though it says write fluent or whatever. Guido Adriaensen |
Hi Guido and Francesco,
For
Hi Guido and Francesco,
For the STAR-CD export, they're exporting Nastran solids as well. The boundary condition definitions are a bit of a hack: they define shells and then use the pro-STAR functionality to change these into boundary patches. How are the boundary conditions being defined for the Fluent and unv outputs? /mark |
Hi Guido,
I've changed fro
Hi Guido,
I've changed from version 7.1 to 8.0 RS1 only some days ago, I also downloaded the patches from the Altair site, but I'm quite new to this version. I tried to export a mesh with the "CFD/general" template but I could only write a Nastran file. Where can I find your update? Is it available somewhere? Thank you in advance Francesco |
Hi all!
sounds good, that y
Hi all!
sounds good, that you use HM for meshing http://www.cfd-online.com/OpenFOAM_D...part/happy.gif We have an CFD Update for HM80SR1 which should solve your problem. ftp://ftp.altair.de/outgoing/hyperwo...80/CFD_Updates You will find the packed files and a readme with the install introductions In the Utility Browser you will get a CFD I/O menu where you can export a "real" Fluent *.cas file, so no problem to use fluentMeshToFoam ;) a positive feedback would be nice! Regards, Flo |
Hello Francesco and Mark,
W
Hello Francesco and Mark,
We have had an update from Altair. If you send me an email I will send you the files, you need to extract them in your install directory of HW and it will create the correct translators. Or you could contact Altair and request this update from them, it was an unofficial update from the USA department of Altair. kind regards Guido Adriaensen |
Hello,
The update I was spe
Hello,
The update I was speaking about is the same as the one from Florian. It works perfectly for us. :-) kind regards Guido |
Hi,
This patch is the actua
Hi,
This patch is the actual one, but it will be updatet from time to time. So I can let you know if we have a new cfd update with significant changes on our ftp site... Regards, Flo |
I just received similar inform
I just received similar information from Altair.
The neueste CFD Update is under ftp://ftp.altair.de/outgoing/hyperwo...80/CFD_Updates He also noted that there are a few new features: - automatic prism layer adjustment - Hex-core meshing - Load mapper - to map CFD results on to FEA meshes I hadn't tried it before (we don't have Fluent), but it tried it now and the fluentMeshToFoam seems to work nicely with it. The STAR-CD export also seems to work better (no more hack with Nastran), but it only writes the STAR-CD version 3 format, which makes the boundary imports take a bit longer in star4. |
Hi all,
I'd like to produc
Hi all,
I'd like to produce a 3D mesh which contains a rotating object (like a fan). I meshed it with HM but I don't know how to set the Zones files which are needed by MRFSimpleFoam. I've tried with the -writeZones options but I think the problem is in the construction of the mesh. Can you help me? Thanks in advance Francesco P.S. I've tested fluentMeshToFoam with other mesh and everything was ok, this is my first mesh with internal objects |
Hello Francesco,
I'm not sp
Hello Francesco,
I'm not speaking from experience with this, but have you tried the following: -Creating two different fluid "zones" or collectors in Hypermesh -Do not connect/equivalence the two zones; this would have to ensure that you have two non-connected zones in your model Kind regards, Guido |
I have a model in HM with tetr
I have a model in HM with tetramesh on it, and its correspoding tria surface mesh. I want to export this file with mesh 200 for the trias and solid 92 for the 3d mesh. How do I do this? I tried looking into real constants but they don't have solid 92 or mesh 200 as an option. I already added the element types but I don't know how to assign those to my current mesh.
|
I forgot to mention I'm trying
I forgot to mention I'm trying to get to file in ansys. Thanks!
|
Hi Leonardo,
if you want to
Hi Leonardo,
if you want to import a 3D mesh from HyperMesh in OpenFOAM, please try to export the mesh as a Fluent *.cas file and import this with fluentMeshToFoam in OpenFOAM format. This should work without any errors Best regards, Florian |
Hi,
I did what Florian has de
Hi,
I did what Florian has described above, import 3D mesh from HyperMesh with *.cas Fluent file, then with the command $ fluent3DMeshToFoam I've created the mesh. But when I check the mesh whit $ checkMesh I get this message: ... ... Time = constant #0 Foam::error::printStack(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&) in "/home/openfoam/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so" #1 Foam::sigSegv::sigSegvHandler(int) in "/home/openfoam/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so" #2 __restore_rt at sigaction.c:0 #3 Foam::primitiveMesh::calcCells(Foam::List<foam::ce ll>&, Foam::UList<int> const&, Foam::UList<int> const&, int) in "/home/openfoam/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so" #4 Foam::primitiveMesh::cells() const in "/home/openfoam/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so" #5 __gxx_personality_v0 in "/home/openfoam/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/checkMesh " #6 main in "/home/openfoam/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/checkMesh " #7 __libc_start_main in "/lib64/libc.so.6" #8 Foam::regIOobject::readIfModified() in "/home/openfoam/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/checkMesh " Segmentation fault Can you help me to resolve the problem? |
All times are GMT -4. The time now is 07:12. |