|
[Sponsors] |
November 30, 2015, 10:00 |
Sample line defined by trigonometric curve
|
#1 |
Senior Member
Join Date: Jul 2009
Posts: 260
Rep Power: 17 |
Hi,
I am looking at flow around a solid cube at different angles. I'm interested in the pressures on a line up the centre of each façade so I manually use sample. For the 0 degree case, where flow is perpendicular to the cube: Code:
zfront { type uniform; axis distance; start (0 -3.02 0); end (0 -3.02 6); nPoints 100; } 1. Sample often doesn't produce 100 points for some reason, nor does it order them 2. As my cube turns (for different simulations), my sampling points will turn. I'd like to sample over a line defined by a trigonometric curve. Is it possible? e.g. Code:
start(3*sin(pi/180*Angle) -3*cos(pi/180*Angle) 0) end(3*sin(pi/180*Angle) -3*cos(pi/180*Angle) 6) |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' | muth | OpenFOAM Running, Solving & CFD | 3 | August 27, 2018 04:18 |
[blockMesh] Errors during blockMesh meshing | Madeleine P. Vincent | OpenFOAM Meshing & Mesh Conversion | 51 | May 30, 2016 10:51 |
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 | keepfit | ParaView | 60 | September 18, 2013 03:23 |
channelFoam for a 3D pipe | AlmostSurelyRob | OpenFOAM | 3 | June 24, 2011 13:06 |
Problems of Duns Codes! | Martin J | Main CFD Forum | 8 | August 14, 2003 23:19 |