CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Strange behaviour of SimpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 21, 2015, 05:55
Default Strange behaviour of SimpleFoam
  #1
New Member
 
Join Date: Dec 2015
Posts: 16
Rep Power: 10
Q.E.D. is on a distinguished road
Hello everybody!

this is my first post, so I hope I do everything right! :-)

A part of my thesis is to simulate the flow (incompressible, stationary) in a vacuum cleaner. Unfortunately I must keep the manufacturer and the geometry to myself because of the confidentiality clause.

The geometry is rather complex, so it took me a long time to create a "good" mesh. The geometry has been meshed with Snappy. My process of mesh creation was basically:

1. Import the STEP in Salome
2. Triangulation in Salome (NETGEN 1D 2D, Mefisto did not work)
3. Export of STL
4. Meshing with Snappy

I split the geometry into multiple pieces. (See Appendix) The single STLs are (except for the open surface, obviously) error-free. If I reassemble the single STL again, the surface is unfortunately still open. The geometry has very sharp edges in some places. Is it possible that some edges at this sharp tips connect to only one face?

After meshing with the appended SnappyHexMeshDict I get the appended CheckMesh Output.

As I said before, I have a steady and incompressible case. Therefore SimpleFoam ist used. Furthermore I use the kOmegaSST as turbulence model. The values ​​for k and Omega are estimated with Ferziger / Fluent. I use the University Cluster.

In the appendix you will find the residual plot, the log file of SimpleFoam (Slurm) and hopefully everything else that is needed. As you can see, the residuals plot shows a very strange behavior. Unfortunately, I can not explain it.

If the solver runs longer, the result doesn't change. I have already tried with LowReynolds wall functions. But then it diverges even faster.

What am I doing wrong?

Thanks for your support!!
Arthur
Attached Files
File Type: zip Case.zip (77.6 KB, 14 views)
Q.E.D. is offline   Reply With Quote

Old   December 22, 2015, 09:08
Default
  #2
New Member
 
Magnus
Join Date: Feb 2015
Posts: 7
Rep Power: 11
mrurq is on a distinguished road
Hello Arthur,

If you're having problems with the mesh I would suggest trying cfMesh. I have only used cfMesh a couple of times but friends have used it with poor stl files with good results. It's fast to install and for a first mesh you only need to specify the max cell size and input stl to get going.

If you need to install cfMesh go to http://sourceforge.net/projects/cfmesh/ and download the cfMesh-v1.1.1.tgz file. Save it anywhere you like.

Code:
tar -xvzf cfMesh-v1.1.1.taz
cd cfMesh-v1.1.1/
OF24x //Use the alias for the version you're using here!
source $WM_PROJECT_DIR/etc/bashrc .
./Allwmake
If your current mesh passes the checkMesh without problems then I would look at the first cells sizes and make sure they're size properly according to your turbulence model and wall treatment.

Regards,
Magnus
mrurq is offline   Reply With Quote

Old   December 22, 2015, 09:21
Default
  #3
New Member
 
Join Date: Dec 2015
Posts: 16
Rep Power: 10
Q.E.D. is on a distinguished road
Hello Magnus,

thank you very much for your suggestions!

I've already downloaded cfmesh and found the tutorials quite useful. Nevertheless I failed to set up my case because the calculations brought no result. Maybe I should try again sometime...

Up to now I tried to resolve wall regions with at least 5 layers. Then I run simpleFoam to look at the Values of Yplus. Then I chose the right wall functions.

Thank you very much
Arthur
Q.E.D. 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
strange behaviour in the "interface" between two reference frames (simpleFoam MRF) cvillescas OpenFOAM Running, Solving & CFD 17 July 27, 2021 10:05
Strange behaviour when using compressibleInterFoam with constantAlphaContactAngle TobM OpenFOAM Running, Solving & CFD 2 May 11, 2016 06:34
[sprayFoam] strange spray formation behaviour pbalz OpenFOAM Running, Solving & CFD 0 March 23, 2015 11:41
Strange residuals behaviour xxxx Main CFD Forum 1 July 13, 2013 14:40
Strange behaviour when using LienCubicKE and NonlinearKEShih hani OpenFOAM Running, Solving & CFD 20 March 6, 2013 10:06


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