CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ...

ansysToFoam stops

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 14, 2013, 10:58
Question ansysToFoam stops
  #1
New Member
 
Mathias
Join Date: Oct 2013
Posts: 11
Rep Power: 3
Mathias-TU is on a distinguished road
Hey,

i want to convert a mesh from a simple pipe from ansys to openFOAM. I use ansys 14.5 and set the AWP_WRITE_FLUENT_MESH_ASCII uservariable to 1 to save the .msh in an ascii format. (see attachment)

When i type ansysToFoam Rohr.msh in the console:

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.2.1-57f3c3617a2d
Exec : ansysToFoam Rohr.msh
Date : Oct 14 2013
Time : 07:52:23
Host : "ubuntu"
PID : 7450
Case : /home/mathias/OpenFOAM/test
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time


comes and then the console stops and doesn't do anything.

What can i do?

Thank you!
Attached Files
File Type: zip Rohr.zip (80.5 KB, 6 views)
Mathias-TU is offline   Reply With Quote

Old   October 15, 2013, 06:45
Default
  #2
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 2,972
Rep Power: 30
-mAx- will become famous soon enough
did you try fluent3DMeshToFoam or fluentMeshToFoam?
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 15, 2013, 09:11
Default
  #3
New Member
 
Mathias
Join Date: Oct 2013
Posts: 11
Rep Power: 3
Mathias-TU is on a distinguished road
Hey,

yes, i tried!

Error Message for fluent3DToFoam:

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.2.1-57f3c3617a2d
Exec : fluent3DMeshToFoam Rohr.msh
Date : Oct 15 2013
Time : 06:09:16
Host : "ubuntu"
PID : 3001
Case : /home/mathias/OpenFOAM/test
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Dimension of grid: 3
Number of points: 2640
Number of faces: 7013
Number of cells: 2208
--> FOAM Warning : Found unknown block of type: "3010"
on line 14


--> FOAM FATAL ERROR:
Do not understand characters: �
on line 15

From function fluentMeshToFoam::lexer
in file fluent3DMeshToFoam.L at line 748.

FOAM exiting





Error-Message for fluentMeshToFoam

[...]
Embedded blocks in comment or unknown:��
��)Embedded blocks in comment or unknown:�
�Embedded blocks in comment or unknown:�
;'���Found end of section in unknown:?
�Found end of section in unknown:?
Embedded blocks in comment or unknown:
[��Found end of section in unknown:?
}Found end of section in unknown:?
�����@�Found end of section in unknown:?
��Embedded blocks in comment or unknown:@�
��Found end of section in unknown:?
Embedded blocks in comment or unknown:;�
Embedded blocks in comment or unknown
Embedded blocks in comment or unknown:�
[Found end of section in unknown:?
Found end of section in unknown:�
��Found end of section in unknown:?
Embedded blocks in comment or unknown:��
���|��@�Found end of section in unknown:^
Found end of section in unknown:�
�Found end of section in unknown
Embedded blocks in comment or unknown:
�!�&{?d#Embedded blocks in comment or unknown:��
�Embedded blocks in comment or unknown:��
�Found end of section in unknown:?
�(0Dimension of grid: 13
(Dimension of grid: 1
Dimension of grid: 1
Dimension of grid: 30
aDimension of grid: 3
Dimension of grid: 4

What does it mean?
Mathias-TU is offline   Reply With Quote

Old   October 15, 2013, 09:15
Default
  #4
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 2,972
Rep Power: 30
-mAx- will become famous soon enough
do you have hexcore mesh?
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 15, 2013, 09:20
Default
  #5
New Member
 
Mathias
Join Date: Oct 2013
Posts: 11
Rep Power: 3
Mathias-TU is on a distinguished road
The mesh looks like this

Attached Images
File Type: jpg Net.jpg (88.6 KB, 17 views)
Mathias-TU is offline   Reply With Quote

Old   October 15, 2013, 09:23
Default
  #6
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 2,972
Rep Power: 30
-mAx- will become famous soon enough
ok I reproduced your error.
Try do disable ascii export option
I imported your Rohr.msh in Gambit, and export it again in Fluent format.
The OF conversion is then successfull (fluentMeshToFoam)
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 15, 2013, 09:37
Default
  #7
New Member
 
Mathias
Join Date: Oct 2013
Posts: 11
Rep Power: 3
Mathias-TU is on a distinguished road
Thank you for answering!

Now, without saving in ascii, i get this:

mathias@ubuntu:~/OpenFOAM/ansysmsh$ ansysToFoam Rohr.msh
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.2.1-57f3c3617a2d
Exec : ansysToFoam Rohr.msh
Date : Oct 15 2013
Time : 06:35:57
Host : "ubuntu"
PID : 3582
Case : /home/mathias/OpenFOAM/ansysmsh
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Creating points
Creating cells
Creating boundary patches
ansysToFoam:
Ansys file format does not provide information about the type of the patch (eg. wall, symmetry plane, cyclic etc).
All the patches have been created as type patch. Please reset after mesh conversion as necessary.

Default patch type set to empty
Writing polyMesh

end


but i can't see the mesh via paraFoam... can you?


fluentMeshToFoam gives http://abload.de/image.php?img=fluentpzsj6.jpg
Mathias-TU is offline   Reply With Quote

Old   October 16, 2013, 01:05
Default
  #8
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 2,972
Rep Power: 30
-mAx- will become famous soon enough
It is weird that fluentMeshToFoam failed in your case (with me it is ok - fluent3DMeshToFoam also ok)
I tried to convert your mesh with ansysToFoam, it is successfull, and paraFoam doesn't show me any element.
I checked the Mesh (checkMesh), and there is no element in the mesh. (I don't think you have to use ansysToFoam converter, since you enforced Ansys to give you an Fluent mesh format. You may try to use ansysToFoam, but with an ansys mesh format)
Anyway then I checked the mesh from fluentMeshToFoam , but it failed (I suspect an issue which may come from german alphabet "-körper". Try "-koerper" --> checkMesh is then successfull)
As I don't have ansys I cannot look for the right export parameter which will make OF conversion (fluentMeshToFoam) successfull, but I can confirm that it worked from gambit, so you have to digg in ansys parameter
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 16, 2013, 05:51
Default
  #9
New Member
 
Mathias
Join Date: Oct 2013
Posts: 11
Rep Power: 3
Mathias-TU is on a distinguished road
Thank you for answering!!!

I really don't know which parameters in ansys are important for the conversion the ansys-mesh to open foam.

Our problem is, that we need a complex geometry and it's really hard to hack it in the text-file by hand.

So we want to create the geometry with SolidEdge or Autocad, import it to ansys and create the mesh via ansys. Then we would import the ansys-mesh to openFoam.

Maybe you have a better idea?

Thank you so much!
Mathias-TU is offline   Reply With Quote

Old   October 16, 2013, 06:31
Default
  #10
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 2,972
Rep Power: 30
-mAx- will become famous soon enough
did you changed the name of your BC and fluid-domain --> no "ö" ?
And then retry fluentMeshToFoam or fluent3DMeshToFoam?
Then as I don't have Ansys I cannot test your export. Maybe you can post a picture of the export panel in Ansys...
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 16, 2013, 07:04
Default
  #11
New Member
 
Mathias
Join Date: Oct 2013
Posts: 11
Rep Power: 3
Mathias-TU is on a distinguished road
Hmmmm... where do you see the "ö"? I don't find it.
Mathias-TU is offline   Reply With Quote

Old   October 16, 2013, 07:13
Default
  #12
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 2,972
Rep Power: 30
-mAx- will become famous soon enough
when I import your Rohr.msh, I can see your BC "wall-volumenkörper" and fluid-domain "volumenkörper"
Untitled.png Untitled1.png
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 16, 2013, 07:40
Default
  #13
New Member
 
Mathias
Join Date: Oct 2013
Posts: 11
Rep Power: 3
Mathias-TU is on a distinguished road
I changed the name, but i get still the same errors. MAybe you can check these zweo .msh files? https://www.wetransfer.com/downloads...6113804/a9ac3a

i saved them in ascii and binary, with no ö
Mathias-TU is offline   Reply With Quote

Old   October 16, 2013, 07:48
Default
  #14
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 2,972
Rep Power: 30
-mAx- will become famous soon enough
yes I got also your error.
But If I import it in Gambit, and direct export the mesh file, then it is ok.
Can you post a picture of the Panel you get for the export (options etc...)

Maybe you also have Gambit?
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 16, 2013, 07:53
Default
  #15
New Member
 
Mathias
Join Date: Oct 2013
Posts: 11
Rep Power: 3
Mathias-TU is on a distinguished road
http://abload.de/image.php?img=ansysxtsvj.png

Here is a picture from the Ansys-screen. You don't have any options for the export of the net.

And no, i don't have Gambit. But i can install it. Where can i get it?
Mathias-TU is offline   Reply With Quote

Old   October 16, 2013, 08:25
Default
  #16
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 2,972
Rep Power: 30
-mAx- will become famous soon enough
Anything in Datei/export?
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 16, 2013, 08:36
Default
  #17
New Member
 
Mathias
Join Date: Oct 2013
Posts: 11
Rep Power: 3
Mathias-TU is on a distinguished road
Datei --> Export opens the "Speichern unter" window.

in the options i found this:
http://abload.de/image.php?img=optionenwwxta.jpg
Mathias-TU is offline   Reply With Quote

Old   October 16, 2013, 08:40
Default
  #18
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 2,972
Rep Power: 30
-mAx- will become famous soon enough
ok
then you can try other mesh type (cfx for instance)
--> http://www.openfoam.org/docs/user/st...p#x14-900003.6

don't you have any cfd solver within ansys?
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 16, 2013, 10:24
Default
  #19
New Member
 
Mathias
Join Date: Oct 2013
Posts: 11
Rep Power: 3
Mathias-TU is on a distinguished road
The problem is, that a student wrote some codes for the calculation of nanoparticle-traces for open-foam. The student left the institute, and with him his knowledge in cfd.

so we must use openFome to use his codes.
Mathias-TU is offline   Reply With Quote

Old   October 17, 2013, 00:44
Default
  #20
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 2,972
Rep Power: 30
-mAx- will become famous soon enough
yes I understand.
But you have also the possibility to export your mesh into other format (like cfx, icemcfd)
Here is the list of the mesh format you can import into OF
http://www.openfoam.org/docs/user/st...p#x14-900003.6

How complex is your geometry? if it is quite simple, you can use blockMesh from OF.
Or if you are really stucked, I can export your geometry from gambit, and you can convert it into OF with fluentMeshToFoam or fluent3DMeshToFoam.
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ansysToFoam RalphS OpenFOAM 4 December 7, 2012 16:31
Stops responding after adaptation command! diamondx FLUENT 0 July 26, 2011 21:52
meshing process stops (after surf meshing?) vaina74 Open Source Meshers: Gmsh, Netgen, CGNS, ... 5 May 27, 2011 02:32
case stops when fuel injection starts Antony CD-adapco 1 August 7, 2005 13:42
Linux: when the job suddenly stops working. Stevie Wonder CFX 3 August 15, 2004 18:36


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