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

[Commercial meshers] CuBit

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 19, 2008, 10:36
Default CuBit
  #1
t42
New Member
 
Denk Marcus
Join Date: Mar 2009
Posts: 13
Rep Power: 17
t42 is on a distinguished road
Hi Forum,

Just a few weeks ago i asked if somebody has experiences with CuBit as a preprocessor in
combination with OpenFoam. I only got one answer.
I was told that there should be no problem importing CuBit-meshes into OpenFoam.

Is there somebody else who has experiences with CuBit and importing itīs meshes into OpenFoam.

I would be very pleased get some information about this.

Thanks a lot
t42 is offline   Reply With Quote

Old   June 29, 2008, 07:01
Default Hi, I also use CUBE and Ope
  #2
Senior Member
 
tian's Avatar
 
Tian
Join Date: Mar 2009
Location: Berlin, germany
Posts: 119
Rep Power: 17
tian is on a distinguished road
Hi,

I also use CUBE and OpenFOAM. I export the mesh in Fluent format and importing the mesh in OpenFOAM, no problem...

Bye
Tian
__________________
BIM HVACTool, The Green Building Simulation Tool for OpenFOAM, Energy Plus and Radiance.
tian is offline   Reply With Quote

Old   June 29, 2008, 07:37
Default Hi Thomas! I saw that the f
  #3
Member
 
sradl's Avatar
 
Stefan Radl
Join Date: Mar 2009
Location: Graz, Austria
Posts: 82
Rep Power: 18
sradl is on a distinguished road
Hi Thomas!

I saw that the fluent export function is new in Cubit 11.0. However, I have no tested it - currently I export in ideasUNV format, which allows me to only define "groups" of faces but not to specify the patch type, i.e., if this is a wall or a inlet, etc.

Is it also possible to export boundary conditions, e.g. wall, etc.

br
Stefan
sradl is offline   Reply With Quote

Old   July 8, 2008, 09:36
Default Hi Stefan, I tried also to
  #4
Senior Member
 
tian's Avatar
 
Tian
Join Date: Mar 2009
Location: Berlin, germany
Posts: 119
Rep Power: 17
tian is on a distinguished road
Hi Stefan,

I tried also to export in ideasUNV Format with group of faces to OpenFOAM with CUBIT 11. It was not working :-( Do you have a nice excample for CUBIT? Thanks

Thomas
__________________
BIM HVACTool, The Green Building Simulation Tool for OpenFOAM, Energy Plus and Radiance.
tian is offline   Reply With Quote

Old   July 8, 2008, 09:50
Default I had to modify the import pro
  #5
Member
 
sradl's Avatar
 
Stefan Radl
Join Date: Mar 2009
Location: Graz, Austria
Posts: 82
Rep Power: 18
sradl is on a distinguished road
I had to modify the import program a little, it is attached here:

ideasUnvToFoam_zip.tar.gz
sradl is offline   Reply With Quote

Old   July 8, 2008, 16:44
Default Hi Stefan, thanks for the f
  #6
Senior Member
 
tian's Avatar
 
Tian
Join Date: Mar 2009
Location: Berlin, germany
Posts: 119
Rep Power: 17
tian is on a distinguished road
Hi Stefan,

thanks for the files. I can not import the UNV File. I group the face and export it but I can not import to OF. Can you also send me the Cubit File al excample? Sorry for my english, my german is better ;-)

Bye
Thomas
__________________
BIM HVACTool, The Green Building Simulation Tool for OpenFOAM, Energy Plus and Radiance.
tian is offline   Reply With Quote

Old   July 10, 2008, 08:51
Default Hi, here is an example for
  #7
Senior Member
 
tian's Avatar
 
Tian
Join Date: Mar 2009
Location: Berlin, germany
Posts: 119
Rep Power: 17
tian is on a distinguished road
Hi,

here is an example for generation a mesh in Cubit and export it in msh format for OpenFOAM:

brick x 4 y 4 z 1
create cylinder height 1 radius 0.5
subtract volume 2 from volume 1
create cylinder height 1 radius 1
chop volume 1 with volume 3
webcut volume all with plane yplane noimprint nomerge
webcut volume all with plane xplane noimprint nomerge
delete volume 4 5 8 9
webcut volume 10 with plane xplane rotate 45 about z center 0 0 0 noimprint nomerge
webcut volume 6 with plane xplane rotate -45 about z center 0 0 0 noimprint nomerge
sweep curve 149 164 along curve 70
sweep curve 164 along curve 129
sweep curve 149 along curve 137
webcut volume 7 with sheet surface 109
webcut volume 18 with sheet surface 108
webcut volume 11 with sheet surface 107
webcut volume 11 with sheet surface 110
delete surface all


imprint volume all
merge volume all
curve 39 41 156 158 65 189 141 139 110 108 61 231 35 37 124 204 12 216 11 interval default
curve 39 41 156 158 65 189 141 139 110 108 61 231 35 37 124 204 12 216 11 interval 1 preview
curve 39 41 156 158 65 189 141 139 110 108 61 231 35 37 124 204 12 216 11 interval 1
curve 39 41 156 158 65 189 141 139 110 108 61 231 35 37 124 204 12 216 11 scheme equal
mesh curve 39 41 156 158 65 189 141 139 110 108 61 231 35 37 124 204 12 216 11
volume 6 10 12 13 interval 10
mesh volume 6 10 12 13
volume 7 19 interval 20
mesh volume 7 19
delete mesh volume 7 19 propagate
volume 7 19 interval 20
mesh volume 7 19
volume 20 18 21 11 interval 20
mesh volume 20 18 21 11

sideset 1 surface 94 90 106 99
sideset 1 name cylinder
sideset 2 surface 40 27 28 41
sideset 2 name down
sideset 3 surface 130 135 122 128
sideset 3 name up
sideset 4 surface 146 140
sideset 4 name left
sideset 5 surface 118 115
sideset 5 name right

export fluent cylinder.msh volume all overwrite

In Openfoam import the file with:

fluentMeshToFoam root case cylinder.msh

Have fun
Thomas
__________________
BIM HVACTool, The Green Building Simulation Tool for OpenFOAM, Energy Plus and Radiance.
tian is offline   Reply With Quote

Reply

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
Cubit going open source? phsieh2005 Mesh Generation & Pre-Processing 17 March 30, 2017 09:01
Cubit old version or similar software File Mesh Generation & Pre-Processing 2 March 12, 2013 06:05
CUBIT Tool Suite Download asoltoon Mesh Generation & Pre-Processing 2 February 7, 2013 00:33
[Other] Cubit --> Openfoam problems fijinx OpenFOAM Meshing & Mesh Conversion 0 April 13, 2010 18:31
CuBit t42 OpenFOAM Pre-Processing 0 May 16, 2008 06:06


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