|
[Sponsors] |
The relationship between forces and the pressure from sampledSurfaces in OF |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 23, 2018, 13:09 |
The relationship between forces and the pressure from sampledSurfaces in OF
|
#1 |
New Member
Join Date: Nov 2015
Posts: 28
Rep Power: 11 |
Hi Guys,
Currently I encounter a problem that the predicted noise based on the sampled pressure on the solid surfaces (patch: cube) is inconsistent with the root-mean-square values calculated based on the forces from the same surface (patch: cube) in OF. The related code in the system file is as following: Code:
forcesCube { type forces; functionObjectLibs ("libforces.so"); outputControl timeStep; outputInterval 1; patches ( cube ); pName p; UName U; rhoName rhoInf; log true; rhoInf 1; CofR (0 0 0); } fieldAverage { type fieldAverage; functionObjectLibs ( "libfieldFunctionObjects.so" ); enabled true; outputControl outputTime; fields ( U { mean on; prime2Mean on; base time; } p { mean on; prime2Mean on; base time; } ); } sampled_surface { type surfaces; functionObjectLibs ("libsampling.so"); enabled true; outputControl timeStep; outputInterval 5; surfaceFormat raw; interpolationScheme cell; fields ( p ); surfaces ( wall { type patch; patches (cube); } ); } } Base on my knowledge, the forces in OF is calculated relying on the x, y, z coordinates, while the sampledSurface requires information of surface areas. I suspect the sampled pressure from the cube with rounded corners may not be reliable due to the curved surfaces. But I have no idea about how to test it. Any suggestions? Thanks in advance. |
|
Tags |
forces, openfoam, sampledsurface |
|
|