CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

probe/sample pressure on moving boundary

Register Blogs Community New Posts Updated Threads Search

Like Tree21Likes
  • 1 Post By mo_na
  • 20 Post By mo_na

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 14, 2016, 06:26
Post probe/sample pressure on moving boundary
  #1
Member
 
mo_na's Avatar
 
Mona
Join Date: Mar 2016
Location: Berlin
Posts: 49
Rep Power: 10
mo_na is on a distinguished road
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
Mehdi Rami likes this.
mo_na is offline   Reply With Quote

Old   July 14, 2016, 16:58
Default
  #2
Member
 
João Ferreira
Join Date: Nov 2014
Location: Braga, Portugal
Posts: 53
Rep Power: 12
jmdf is on a distinguished road
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.
jmdf is offline   Reply With Quote

Old   July 15, 2016, 06:00
Default
  #3
Member
 
mo_na's Avatar
 
Mona
Join Date: Mar 2016
Location: Berlin
Posts: 49
Rep Power: 10
mo_na is on a distinguished road
Hi João,

thanks for your answer! I will definitely try that and let you know if it works!
mo_na is offline   Reply With Quote

Old   August 9, 2016, 05:25
Default solved
  #4
Member
 
mo_na's Avatar
 
Mona
Join Date: Mar 2016
Location: Berlin
Posts: 49
Rep Power: 10
mo_na is on a distinguished road
Hey everyone,

if you are using a dynamic mesh, this is actually quite easy.
You just need to use
Code:
fixedLocations     false;
and the probe will move with the mesh, so it will stay in the same place in relation to the body.

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;
}
mo_na is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 01:22.