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

[Salome] salome mesh checking error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 7, 2019, 04:18
Default salome mesh checking error
  #1
New Member
 
Join Date: Mar 2019
Posts: 6
Rep Power: 7
Yihong is on a distinguished road
Hello.
I want to do simulation of a wedge pipe. I have created geometry in Salome and mesh by ideasUnvToFoam. But when I check the mesh, the error shows like this:

Cannot find file "points" in directory "polyMesh" in times 0 down to constant


I use simpleFoam/pizyDaily as solver.

How can I fix this? Thanks in advance.
Yihong is offline   Reply With Quote

Old   April 8, 2019, 14:09
Default
  #2
Senior Member
 
Peter Hess
Join Date: Apr 2011
Location: Austria
Posts: 250
Rep Power: 17
peterhess is on a distinguished road
Hello Yihong!

Most properly you are using second order elements. If you do, then try it without seond order elements.

As plan B that works for me you can try the following:

- Download the script:

salomeToOpenFOAM.py

from here:

https://github.com/nicolasedh/salomeToOpenFOAM

and save it to your working folder

- Generate the mesh you want to convert and save the *.hdf file (SALOME)

- In SALOME mark the mesh you want to export

- File -> load script -> salomeToOpenFOAM.py

- Wait until the mesh exported. Finished exporting is printed in SALOME console

- A new folder will be generated in your case called mesh(_1) and includes the mesh

- Copy the mesh folder (polyMesh) to constant

Regards

Peter
peterhess is offline   Reply With Quote

Old   April 9, 2019, 22:51
Default
  #3
New Member
 
Join Date: Mar 2019
Posts: 6
Rep Power: 7
Yihong is on a distinguished road
Hi Peter. Thanks for your reply.

I just copy the tutorial containing no polyMesh folder in constant folder. No idea about that seond order elements.
Yihong is offline   Reply With Quote

Old   April 10, 2019, 15:23
Default
  #4
Senior Member
 
Peter Hess
Join Date: Apr 2011
Location: Austria
Posts: 250
Rep Power: 17
peterhess is on a distinguished road
Hello!

Well, as I understood, you generated the mesh using salome...

Am I right?

If yes, then you need do deactivate the second order elements, cause the ideasUnvToFoam have a problem converting the mesh to my poor knowledge.

Send please the case. Show please the log file of the ideasUnvToFoam.


Regards

Peter
peterhess is offline   Reply With Quote

Old   April 10, 2019, 21:28
Default
  #5
New Member
 
Join Date: Mar 2019
Posts: 6
Rep Power: 7
Yihong is on a distinguished road
Could you be more specific about what can I do? And yes, I do use salome.

The log file is as follow:

Quote:
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 4.0
Exec : ideasUnvToFoam wedge.unv
Date : Apr 10 2019
Time : 19:29:51
Host : "ubuntu"
PID : 47137
Case : /home/jamie/OpenFOAM-6/wedgePipe/copy
nProcs : 1
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

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

Processing tag:164
Starting reading units at line 3.
l:1
units:" SI: Meter (newton)"
unitType:2
Unit factors:
Length scale : 1
Force scale : 1
Temperature scale : 1
Temperature offset : 273.15


Processing tag:2420
Skipping tag 2420 on line 9
Skipping section at line 9.

Processing tag:2411
Starting reading points at line 20.
Read 251251 points.

Processing tag:2412
Starting reading cells at line 502525.
First occurrence of element type 11 for cell 1 at line 502526
First occurrence of element type 44 for cell 2101 at line 1112726
First occurrence of element type 41 for cell 52101 at line 1212726
First occurrence of element type 112 for cell 56501 at line 1321526
First occurrence of element type 115 for cell 60501 at line 1329526
Read 200000 cells and 104400 boundary faces.

Processing tag:2467
Starting reading patches at line 1721528.
For group 1 named axis trying to read 1000 patch face indices.
For group 2 named inlet_top trying to read 50 patch face indices.
For group 3 named outlet_top trying to read 50 patch face indices.
For group 4 named wall_top trying to read 1000 patch face indices.
For group 5 named inlet trying to read 50 patch face indices.
For group 6 named outlet trying to read 50 patch face indices.
For group 7 named wall trying to read 1000 patch face indices.
For group 8 named wedge1 trying to read 50000 patch face indices.
For group 9 named inlet trying to read 200 patch face indices.
For group 10 named outlet trying to read 200 patch face indices.
For group 11 named wall trying to read 4000 patch face indices.
For group 12 named wedge0 trying to read 50000 patch face indices.
For group 13 named wedge_rotated trying to read 200000 patch face indices.

Thanks a lot!
Yihong is offline   Reply With Quote

Reply

Tags
openfoam, salome mesh


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
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 10:31
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 08:21
How to get the max value of the whole field waynezw0618 OpenFOAM Running, Solving & CFD 4 June 17, 2008 06:07
user subroutine error CFDUSER CFX 2 December 9, 2006 07:31
Gerris software installation mer Main CFD Forum 2 November 12, 2005 09:50


All times are GMT -4. The time now is 20:12.