CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[cfMesh] Didn't generate any mesh, not sure what was wrong in case definition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 8, 2017, 06:06
Default Didn't generate any mesh, not sure what was wrong in case definition
  #1
New Member
 
Heraklion's Avatar
 
Join Date: Jan 2017
Posts: 2
Rep Power: 0
Heraklion is on a distinguished road
Hi Forum,

I'm new to the OpenFoam and I know that working with OpenFoam is a bit of habit, because it has no interface and that makes the thing very interesting for me and now the question regarding cfMesh:

Which is the first step to create a mesh.

I have made folgedes:

1- I have created a bearing surface called "profile" and a ring, called "outer", with CAD in "stl" - "ASCII" format. (profil.zip)

2- The two files were merged into one file and that was named "allCombined".

3- because it is a 2D simulation, is worked with cartesian2DMesh.

4- it was created a "dat" file, gennat "./Allrun" so that you do not always have to type the commands and the following:
___
Code:
#!/bin/sh
cd ${0%/*} | | exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions

application=$(getApplication)

cp 0/U.org 0/U

##cfMesh##
cat profil.stl > allCombined.stl
cat outer.stl >> allCombined.stl
runApplication surfaceToFMS allCombined.stl
runApplication cartesian2DMesh
runApplication improveMeshQuality
#uncomment next line if scaling from mm to m is necessary
#runApplication transformPoints -noFunctionObjects -scale '(0.001 0.001 0.001)'
runApplication checkMesh -noTopology
##

##Solver##
runApplication potentialFoam
runApplication $application
____

Now when I do cheMesh, shows me the FATAL ERROR and no mesh present and although the following:
____
Code:
Create time
Create polyMesh for time = 0

--> FOAM FATAL ERROR:
Cannot find file "points" in directory "polyMesh" in times 0 down to constant

From function Foam::word Foam::Time::findInstance(const Foam::fileName&, const Foam::word&, Foam::IOobject::readOption, const Foam::word&) const
in file db/Time/findInstance.C at line 202.

FOAM exiting
___

For cfMesh is a userguide, has been very roughly written and does not help unfortunately so much.

Would be nice if someone could help me and tell me what is the error and what is the first step. what did i wrong?

tnx
Heraklion is offline   Reply With Quote

Old   January 8, 2017, 06:28
Default
  #2
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 555
Rep Power: 27
linnemann will become famous soon enough
Zip case and upload to a sharing service and link here, can take a look
__________________
Linnemann

PS. I do not do personal support, so please post in the forums.
linnemann is offline   Reply With Quote

Old   January 8, 2017, 06:43
Default
  #3
New Member
 
Heraklion's Avatar
 
Join Date: Jan 2017
Posts: 2
Rep Power: 0
Heraklion is on a distinguished road
i tried but the file is 975.3 kb. Hier is only 195.3 kb allowed
Heraklion is offline   Reply With Quote

Old   January 11, 2017, 18:02
Default No cells in the mesh
  #4
Senior Member
 
Franjo Juretic
Join Date: Aug 2011
Location: Velika Gorica, Croatia
Posts: 124
Rep Power: 16
franjo_j is on a distinguished road
Send a message via Skype™ to franjo_j
Hi,

Can you please post a picture of the domain and the log file of the cartesianMesh. I have tried to download the geometry (profil.zip), and my anti-virus did not let me because of malicious software.

In order to resolve your problem please pay attention to:
1. Proper geometry definition for 2D meshing. You can find it in the manual and there is also a tutorial called "hat", provided with the software. Check the "tutorials" folder of your cfMesh installation.
2. If your geometry is not a ribbon, the mesher is not able to detect any cells inside your domain that are not intersected by the domain itself. Check the keepCellsIntersectingBoundary option that over-rides the default behaviour.
__________________
Principal Developer of cfMesh and CF-MESH+
www.cfmesh.com
Social media: LinkedIn, Twitter, YouTube, Facebook, Pinterest, Instagram
franjo_j 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
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 06:09
[ICEM] How to generate this kind of mesh? mingersai ANSYS Meshing & Geometry 51 February 16, 2017 07:32
[snappyHexMesh] SnappyHexMesh for internal Flow vishwa OpenFOAM Meshing & Mesh Conversion 24 June 27, 2016 08:54
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 09:38
[ICEM] Generate multiply bodies and then mesh them one by one hz283 ANSYS Meshing & Geometry 1 March 3, 2013 15:27


All times are GMT -4. The time now is 16:36.