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

[snappyHexMesh] snappyHexMesh mesh not appearing in paraFoam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 4, 2015, 22:08
Default snappyHexMesh mesh not appearing in paraFoam
  #1
New Member
 
Join Date: Jun 2015
Posts: 12
Rep Power: 8
eruwaedhiel is on a distinguished road
Hello everyone! I'm Liz, and I am very new to OpenFOAM, so please excuse me if I made a very obvious mistake. I am working on a project that requires me to model the approximate flow from a helicopter. I am using the pimpleDyMFoam tutorial "propeller" as a model, as I need to get the helicopter rotors rotating above the static fuselage. I have .obj and .stl files for all my model components and have run snappyHexMesh several times successfully. However, all I can ever see in paraFoam is the original mesh from blockMesh.

I know this question has come up several times on the forum but the solutions proposed there have not resolved my problem. I've tried moving the locationInMesh point around, running with and without -overwrite, and switching from .obj files to .stl files (this gave me an error with snappyHexMesh saying stl was not an accepted file type - I'm still confused by this since I have made a mesh with an stl before...).

I've attached all the relevent dictionaries and the snappyHexMesh log, I'd really appreciate it if someone could take a look and point out anything that looks wrong. I'm still learning how everything works together and probably have several mistakes besides whatever is causing this problem.

Thanks!
Attached Files
File Type: zip dict.zip (7.9 KB, 7 views)
File Type: txt snappy_log.txt (52.1 KB, 3 views)
eruwaedhiel is offline   Reply With Quote

Old   June 4, 2015, 22:43
Default
  #2
New Member
 
Join Date: Jun 2015
Posts: 12
Rep Power: 8
eruwaedhiel is on a distinguished road
My models were too large to post initially, but I checked them into a bitbucket repo, so if they would be helpful you can get them by cloning the repo with "git clone https://eruwaedhiel@bitbucket.org/eruwaedhiel/cfd_models.git" or just going to https://bitbucket.org/eruwaedhiel/cfd_models/downloads and downloading it.
eruwaedhiel is offline   Reply With Quote

Old   June 5, 2015, 09:02
Default
  #3
Member
 
Alexander Bartel
Join Date: Feb 2015
Location: Germany
Posts: 97
Rep Power: 8
alexB is on a distinguished road
Hi,

I am not very experienced myself, but I have got two ideas.

1) do you have ASCII stl fiels? Perhaps it goes wrong because you used binary stl files.

2) have you tried to look at different timesteps with paraFoam?
At my beginning I had an similar "error" ... I used sHM with an option to write the mesh at different stages. I could look at them with paraFoam on different timestages.

regards
Alex
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
alexB is offline   Reply With Quote

Old   June 5, 2015, 09:21
Default
  #4
New Member
 
Join Date: Jun 2015
Posts: 12
Rep Power: 8
eruwaedhiel is on a distinguished road
alexB,

Thanks for the suggestions! Currently the stl files are not working at all for me - I had to convert to .obj files otherwise snappyHexMesh gives me a "not an accepted file type" error. What's strange is that I have made a mesh from the same stl files a few days ago, but it doesn't seem to work in this version based on the propeller tutorial. Maybe stl files can't be used for dynamic meshes?

I have tried looking at different time stamps in paraFoam and still see nothing. When I use the -overwrite flag, time 0 is the only option, but when I tried without that flag, I scrolled all the way to the last time stamp and still saw only an empty box
eruwaedhiel is offline   Reply With Quote

Old   June 6, 2015, 16:29
Default
  #5
Member
 
Alexander Bartel
Join Date: Feb 2015
Location: Germany
Posts: 97
Rep Power: 8
alexB is on a distinguished road
Hi,

I think the best would be to post the full error message, the snappyhexmeshdict and the surfacefeatureextractdict. Perhaps we can locate the error with that files.

regards
Alex
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
alexB is offline   Reply With Quote

Old   June 7, 2015, 09:42
Default
  #6
New Member
 
Join Date: Jun 2015
Posts: 12
Rep Power: 8
eruwaedhiel is on a distinguished road
Hi Alex,

I have attached the output I get using the the .obj files showing I don't get an error when I use them in my original post. The zip file I attached also should have all the dictionary files I used. I'll make sure everything you need is actually there when I get back on my computer (I'm just on my phone right now). Thanks!
eruwaedhiel is offline   Reply With Quote

Old   June 7, 2015, 17:57
Default
  #7
Member
 
Alexander Bartel
Join Date: Feb 2015
Location: Germany
Posts: 97
Rep Power: 8
alexB is on a distinguished road
Hi,

I just took a short look, but I noticed that you refer to different files in snappyHexMeshDict and surfaceFeatureExtractDict.

I hope it's the only error.

Otherwise I think you have to check your geometry *, even if it worked before. (or you can reproduce your working case)

* I don't know how it works, but I think a utility called checkSurface (or similar) should show an error if something is wrong.

regards
Alex
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
alexB is offline   Reply With Quote

Old   June 8, 2015, 17:16
Default
  #8
New Member
 
Join Date: Jun 2015
Posts: 12
Rep Power: 8
eruwaedhiel is on a distinguished road
Alex,

Thanks, I will definitely check that out once I'm home tonight! I probably missed some parts changing over names from the propeller tutorial to my helicopter case. What exactly is the surfaceFeatureExtractDict for anyway?

Liz
eruwaedhiel is offline   Reply With Quote

Old   June 8, 2015, 18:20
Default
  #9
New Member
 
Join Date: Jun 2015
Posts: 12
Rep Power: 8
eruwaedhiel is on a distinguished road
Hmm, looks like its still not working. I did notice that the Allrun.pre script I've been trying fails when it goes to run surfaceFeatureExtract, but I'm not sure how essential that step is.
eruwaedhiel is offline   Reply With Quote

Old   June 9, 2015, 06:21
Default
  #10
Member
 
Alexander Bartel
Join Date: Feb 2015
Location: Germany
Posts: 97
Rep Power: 8
alexB is on a distinguished road
Hi Liz,

at first which version of OF are you using? (I have missed to ask that )

The surfaceFeatureExtract step looks for edges in your geometry files, so sHM can snap to them in the snapping step.

I haven't done much with sHM but for the surfaceFeatureExtract step I have used the extractFromSurface method, like in this tutorial http://www.calumdouglas.ch/openfoam-...snappyhexmesh/ from the youtube video https://www.youtube.com/watch?v=ObsFQUiVi1U .

You can download the surfaceFeatureExtractdict fro the homepage if you want.

regards
Alex
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
alexB is offline   Reply With Quote

Old   June 10, 2015, 12:42
Default
  #11
New Member
 
Join Date: Jun 2015
Posts: 12
Rep Power: 8
eruwaedhiel is on a distinguished road
I'm using OpenFOAM-2.3.1.
eruwaedhiel is offline   Reply With Quote

Reply

Tags
dynamic meshing, parafoam, snappyhexmesh

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
[snappyHexMesh] Failed 10 mesh checks after snappyHexMesh jet_engine OpenFOAM Meshing & Mesh Conversion 9 November 21, 2016 13:37
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 09:38
[snappyHexMesh] snappyHexMesh & Mesh around a missile sasanghomi OpenFOAM Meshing & Mesh Conversion 2 October 15, 2014 19:54
[snappyHexMesh] snappyHexMesh: No layer at the outer surfaces of the mesh Jane L OpenFOAM Meshing & Mesh Conversion 1 September 13, 2012 08:38
[snappyHexMesh] SnappyHexMesh not generate mesh first time mavimo OpenFOAM Meshing & Mesh Conversion 4 August 26, 2008 07:08


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