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

[Commercial meshers] Converting an abaqus mesh using matlab scripts and fluentMeshToFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 30, 2014, 08:12
Default Converting an abaqus mesh using matlab scripts and fluentMeshToFoam
  #1
New Member
 
Michael D.
Join Date: Jun 2014
Posts: 14
Rep Power: 12
MichaelD is on a distinguished road
Hi everyone,

I'm currently trying to import a mesh created in abaqus into OpenFOAM, by using matlab scripts and the abaqus .inp file to create a fluent .msh file. From there I was planning to use fluentMeshToFoam.

However, using fluentMeshToFoam gives the following error:


Quote:
[michael@semar-linnex3 meshtest3]$ fluentMeshToFoam output.msh
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.3.0
Exec : fluentMeshToFoam output.msh
Date : Jun 30 2014
Time : 11:16:58
Host : "semar-linnex3.se-as.no"
PID : 935
Case : /home/michael/OpenFOAM/michael-2.3.0/run/meshtest3
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

Reading header: "abaqusToAnsys_cylinder.m"
Dimension of grid: 3
Number of cells: 9092
number of faces: 36626
Number of points: 18698
Reading points
Other readCellGroupData: 2 1 2384 1 4
Reading uniform cells
Reading uniform faces
Reading uniform faces
Reading uniform faces
Reading uniform faces
Reading uniform faces
Reading uniform faces
Reading uniform faces
Reading uniform faces


FINISHED LEXING


dimension of grid: 3
Creating shapes for 3-D cells


--> FOAM FATAL ERROR:
face 0 does not belong to cell 2717. Face owner: -1 neighbour: 2700

From function create3DCellShape(const label cellIndex, const labelList& faceLabels, const labelListList& faces, const labelList& owner, const labelList& neighbour, const label fluentCellModelID)
in file create3DCellShape.C at line 122.

FOAM aborting

#0 Foam::error::printStack(Foam::Ostream&) in "/opt/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::error::abort() in "/opt/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2
in "/opt/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/bin/fluentMeshToFoam"
#3
in "/opt/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/bin/fluentMeshToFoam"
#4 __libc_start_main in "/lib64/libc.so.6"
#5
in "/opt/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/bin/fluentMeshToFoam"
Aborted (core dumped)
What exactly does this error mean? It's apparent that something's wrong with the .msh file, and I've tried looking for something indicating 0 is designated as having element 2717 as owner, but couldn't find anything. The output.msh file is in the link below:

https://drive.google.com/file/d/0ByI...it?usp=sharing

Any help is appreciated!
MichaelD is offline   Reply With Quote

Old   July 2, 2014, 07:34
Default
  #2
New Member
 
Michael D.
Join Date: Jun 2014
Posts: 14
Rep Power: 12
MichaelD is on a distinguished road
Turns out there were a couple of boundary faces (in a different part of the mesh) that were misidentified as internal faces, and when that was fixed, the mesh loads just fine.

I'm still not sure why this error message appeared; it seems unrelated to what fixed the mesh. Oh well, it works now at least!
MichaelD is offline   Reply With Quote

Reply


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
Kubuntu uses dash breaks All scripts in tutorials platopus OpenFOAM Bugs 8 April 15, 2008 08:52


All times are GMT -4. The time now is 00:01.