|February 24, 2016, 09:16||
Fields calculation on a surface section
Join Date: Feb 2016
Location: Genova, Italy
Posts: 38Rep Power: 3
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||
Join Date: May 2013
Location: Southampton, UK
Posts: 293Rep Power: 7
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,
|interdymfoam, patch, surface|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Problem with Gmsh||nishant_hull||Open Source Meshers: Gmsh, Netgen, CGNS, ...||23||August 5, 2015 02:09|
|calculation of the pressure over a surface||mohammad||Main CFD Forum||0||July 19, 2012 05:05|
|Surface roughness setting for a model in wind tunnel test section||Sharon||CFX||12||March 31, 2009 13: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|