|
[Sponsors] |
July 14, 2016, 06:26 |
probe/sample pressure on moving boundary
|
#1 |
Member
Mona
Join Date: Mar 2016
Location: Berlin
Posts: 49
Rep Power: 10 |
Hi all,
I am simulating a pitching floater in a wave flume with ihFoam and a moving mesh. To validate my simulation I want to compare my results with pressure measurements, that were taken in experiments. I got the positions of the pressure sensors on the body. The problem is that the body will move during the simulation, so these locations won't stay the same in reference to the global coordinate system.. Does anyone have an idea how to get the pressure (in several locations) on the moving body either using the probe or the sample function? Cheers, Mona |
|
July 14, 2016, 16:58 |
|
#2 |
Member
João Ferreira
Join Date: Nov 2014
Location: Braga, Portugal
Posts: 53
Rep Power: 12 |
Hi,
I don't have that many experience with sampling, however I have a suggestion. If you create a cellZone, faceSet, or something like that, using topoSet and then probe the zone you created instead of a point, could it work? I suppose that when you create a cellZone it "follows" when the mesh moves. Not sure if this works but let me know, despite it does or not. |
|
July 15, 2016, 06:00 |
|
#3 |
Member
Mona
Join Date: Mar 2016
Location: Berlin
Posts: 49
Rep Power: 10 |
Hi João,
thanks for your answer! I will definitely try that and let you know if it works! |
|
August 9, 2016, 05:25 |
solved
|
#4 |
Member
Mona
Join Date: Mar 2016
Location: Berlin
Posts: 49
Rep Power: 10 |
Hey everyone,
if you are using a dynamic mesh, this is actually quite easy. You just need to use Code:
fixedLocations false; I now have this in my controlDict and it works fine: Code:
probes { // Where to load it from functionObjectLibs ( "libsampling.so" ); type probes; // Name of the directory for probe data name probes; // Fields to be probed fields ( p ); probeLocations ( (0.490739 0 -0.29552) (0.418913 0 -0.30492) (0.29715 0 -0.198471) (0.272609 0 -0.136329) (0.42495 0 -0.31246) (0.489783 0 -0.297302) (0.335867 0 -0.23989) ); fixedLocations false; } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
3D Windturbine simulation in SU2 | k.vimalakanthan | SU2 | 15 | October 12, 2023 06:53 |
interFoam (HELYX-OS) pressure boundary conditions | SFr | OpenFOAM Running, Solving & CFD | 8 | June 23, 2016 17:36 |
Basic Nozzle-Expander Design | karmavatar | CFX | 20 | March 20, 2016 09:44 |
Problem in setting Boundary Condition | Madhatter92 | CFX | 12 | January 12, 2016 05:39 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 08:00 |