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

[Salome] DAT file from Salome for use with Foam.

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 25, 2014, 00:14
Default DAT file from Salome for use with Foam.
  #1
Senior Member
 
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 12
massive_turbulence is on a distinguished road
I used Salome to generate a mesh and sent it to a dat file, mainly because the unv format would lose triangles. Basically I then tried using datToFoam
but I got this error?



Code:
--> FOAM FATAL IO ERROR:
wrong token type - expected word, found on line 0 the label 1

file: IStringStream.sourceFile at line 0.

    From function operator>>(Istream&, word&)
    in file primitives/strings/word/wordIO.C at line 74.

FOAM exiting
massive_turbulence is offline   Reply With Quote

Old   May 3, 2017, 05:49
Default Polyhedrons from salome to openfoam
  #2
xsa
New Member
 
Xabi
Join Date: Sep 2016
Posts: 10
Rep Power: 9
xsa is on a distinguished road
Hi,

this post is quite old but did you manage to generate the mesh with the funciton datToFoam?

i have made a mesh in salome with the algorythm "body Fitting" which consists of polyhedra apart from hexahedra and if i export the mesh in UNV format the polyhedra are missed. Also if i use the script "salomeToOpenFoam.py" i get an error that says "list assignment index out of range".

Does somebody know if it is possible to export polyhedra from salome to openfoam?

thank you

Xabi
xsa is offline   Reply With Quote

Reply

Tags
dat file, mesh, salome

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 18:22
SimpleFoam cannot open include file Marija OpenFOAM Running, Solving & CFD 1 October 28, 2020 11:35
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' muth OpenFOAM Running, Solving & CFD 3 August 27, 2018 05:18
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 04:23
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 13:41


All times are GMT -4. The time now is 15:23.