|
[Sponsors] |
[swak4Foam] Set surface normal manually in groovyBC |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 25, 2016, 21:22 |
Set surface normal manually in groovyBC
|
#1 |
New Member
Mitchell Baum
Join Date: Sep 2015
Location: Australia
Posts: 7
Rep Power: 11 |
Hi all,
I am using groovyBC to define a power law velocity profile at a pipe outlet. According to the attached figure I have a nozzle in a rectangular domain which I have meshed using the snappyHexMesh utility. Due to the limitations of snappyHexMesh I have some surface irregularities at the edge of the orifice. When I implement the line: Code:
valueExpression "-Un*pow((1-(r/R)),(1/n))*normal()"; Thanks in advance for your help. Mitchell Last edited by Mitchell Baum; March 1, 2016 at 01:18. |
|
March 15, 2016, 01:25 |
|
#2 |
New Member
Mitchell Baum
Join Date: Sep 2015
Location: Australia
Posts: 7
Rep Power: 11 |
While I didn't manage to attain a solution to my original question in this post, I achieved a much more sound solution by adjusting my snappyHexMesh processes. Prior to running the snappyHexMesh command I ran the surfaceFeatureExtract command while I also changed around some settings in snappyHexMeshDict. I have attached my most recent mesh.
Although I have solved my original issue in this case, I feel it would be beneficial if anyone could offer guidance in assigning a predefined vector to a patch. Regards, Mitchell |
|
Tags |
groovybc, surface vector |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Normal vector of the free surface | kknv001 | FLOW-3D | 2 | July 15, 2024 16:17 |
Ansys Licence Serve on Ubuntu 16.04 LTS | david.pasquale | ANSYS | 2 | January 20, 2017 12:52 |
Set surface normal component of a vector to zero | ChrisA | OpenFOAM Running, Solving & CFD | 0 | July 19, 2013 15:27 |
How to show the transient case? | H.P.LIU | Phoenics | 7 | July 13, 2010 05:31 |
[GAMBIT] Construction of surface by set of points | pankos | ANSYS Meshing & Geometry | 0 | June 19, 2010 09:25 |