|
[Sponsors] |
February 24, 2016, 09:16 |
Fields calculation on a surface section
|
#1 |
Member
Federica Biano
Join Date: Feb 2016
Location: Genova, Italy
Posts: 39
Rep Power: 10 |
Hello everyone!
I'm new in this forum and I'm new to openFOAM. I'm trying to simulate a ship entering the water with a 3D interDyMFoam model and I need to calculate the pressure, velocity and alpha fields on specific sections of the ship so that I can compare them with 2D calculations. My question is how to create patches on the hull surface, like slices of it, without changing the STL file, to put into surface function in my controldict. Thanks in advance!! |
|
March 12, 2016, 15:43 |
|
#2 |
Senior Member
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 20 |
Hi,
You could play with the topoSet utility. First create a set from the hull faces with something like patchToFace, then subset it to faces within a given box (corresponding to the extent of the slice you want), something like subset from boxToFace, and then create patches from the sets with createPatch (not sure how well the last step will work and what will happen with the original patch). Hopefully these will give you some pointers to get started. Obviously I don't have a file which does exactly what you want but attached one of my topoSet dictionaries to show you how it looks like. All the best, A |
|
Tags |
interdymfoam, patch, surface |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] Problem with Gmsh | nishant_hull | OpenFOAM Meshing & Mesh Conversion | 23 | August 5, 2015 03:09 |
calculation of the pressure over a surface | mohammad | Main CFD Forum | 0 | July 19, 2012 06:05 |
Surface roughness setting for a model in wind tunnel test section | Sharon | CFX | 12 | March 31, 2009 14:09 |
LiftDrag utility from v12 to v141 | cfdphil | OpenFOAM Running, Solving & CFD | 2 | December 5, 2007 06:49 |
Surface integral calculation by undefined area | Bloshchitsyn Vladimir | CFX | 0 | November 18, 2007 23:19 |