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

sampling data on a plane in dynamic mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 8, 2021, 05:58
Thumbs up sampling data on a plane in dynamic mesh
  #1
New Member
 
Ethan
Join Date: Feb 2019
Location: Australia
Posts: 5
Rep Power: 7
ethan13 is on a distinguished road
Hi everyone,

I am doing a sloshing case in a rectangular box (figure shown below)which is revised from the official tutorial sloshingTank3D6DOF. a volume of water is placed in the left area of the box, when the simulation started, the box is rotating with Y-axis and the water will flowout. I am using interDyMFoam, OpenFOAM 2.4.0.



https://www.dropbox.com/s/8cxpf1a55s...e0108.png?dl=0

Currently, I want to sample the velocity at one plane (black line shown in the figure) which has basePiont(1 0 0) and normalVector(1 0 0). As the tank is moving, I also want the sample plane is moving with the tank to get the data. So in the local tank reference frame, I want the sample plane to be fixed.

From the official tutorial sloshingTank3D6DOF, I could see that there are two probes used to get the pressure data that could move with the tank. as it specified the below line to achieve that.

Code:
fixedLocations false;
I have tried to add this line in the sampleDict, but it doesn't work. Does anyone know how could I achieve this for sample utility? Any suggestions and discussion would be highly appreciated.



Beyond this,

the reason why I want to sample the velocity on this plane is that I am going to use the velocity data on it to introduce a boundary condition to my another case. it is a kind of mapping. I searched a lot on the forum. timeVaryingMappedFixedValue might be a way to do that, but it looks like that it couldn't using with dynamic mesh either. So does anyone know how to map the velocity field for dynamic mesh case? again, any suggestions and discussion would be highly appreciated.

Thanks in advance.

Ethan.
ethan13 is offline   Reply With Quote

Old   September 13, 2021, 09:58
Default
  #2
New Member
 
Join Date: Oct 2019
Posts: 10
Rep Power: 6
Kraneberger is on a distinguished road
Hello ethan,


I am trying to do a similar thing but with a rotating mesh. Have you had any success? My workaround for now is too just specify a lot of probes that then move with the dynamic mesh.


Greetings,
Kranerger
Kraneberger is offline   Reply With Quote

Reply

Tags
dynamic mesh;, sample utility


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
[General] Extracting ParaView Data into Python Arrays Jeffzda ParaView 30 November 6, 2023 21:00
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 06:09
Dynamic Mesh kennyboy FLUENT 1 February 23, 2019 01:52
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Dynamic Mesh moving interface help akash.iitb FLUENT 0 August 23, 2010 23:53


All times are GMT -4. The time now is 16:28.