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

[Other] how to get a finer mesh for a 2D square

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 11, 2016, 08:27
Smile how to get a finer mesh for a 2D square
  #1
Senior Member
 
Bill Wang
Join Date: Aug 2014
Posts: 109
Rep Power: 12
6863523 is on a distinguished road
Dear All,
I am recently picking up the Salome/Gambit to mesh for OpenFOAM.
1) I wonder how to make the mesh in the attached geometry much finer.
I have tried to mesh in Salome and Gmabit for this geometry, but without any special treatement on the vortex.
The more details, the better.

2)BTW, is there any special things that I need to pay attention to when I draw mesh for 2D geometries in Salome for OpenFOAM? I have succeeded in importing the mesh from Gambit to OpenFOAM (fluentMeshToFoam **.msh). But there is an error when I checkMesh for Salome file (ideasUnvToFoam):

Sorting boundary faces according to group (patch)
0: inlet is #0 Foam::error:rintStack (Foam::Ostream&) at ??:?
#1 Foam::sigSegv::sigHandler(int) at ??:?
#2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3 ? at ??:?
#4 ___libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#5 ? at ??:?
Segmentation fault

I can send you the mesh files via (ybwang2014@gmail.com).
Thank you in advance.
Best Regards,
Bill
Attached Images
File Type: png UC geometry.png (6.0 KB, 16 views)
6863523 is offline   Reply With Quote

Old   December 13, 2016, 05:37
Smile
  #2
Senior Member
 
Bill Wang
Join Date: Aug 2014
Posts: 109
Rep Power: 12
6863523 is on a distinguished road
No worries.
Problem solved by the script.
Detailes could be seen at:
Script for converting a mesh from Salome-Platform to OpenFOAM
Thanks.
6863523 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
[snappyHexMesh] Add Mesh Layers doesnt work on the whole surface Kryo OpenFOAM Meshing & Mesh Conversion 13 February 17, 2022 08:34
How to set up an overset mesh ? (Moving square inside a rectangular box) jordan.c STAR-CCM+ 5 September 6, 2019 09:53
Finer mesh, worse result? Ryan_Yang FLUENT 2 March 18, 2016 04:48
[snappyHexMesh] Layers:problem with curvature giulio.topazio OpenFOAM Meshing & Mesh Conversion 10 August 22, 2012 10:03
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 22:11


All times are GMT -4. The time now is 21:47.