Set surface normal manually in groovyBC
1 Attachment(s)
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 |
1 Attachment(s)
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 |
All times are GMT -4. The time now is 04:35. |