|
[Sponsors] |
January 8, 2021, 06:58 |
sampling data on a plane in dynamic mesh
|
#1 |
New Member
Ethan
Join Date: Feb 2019
Location: Australia
Posts: 5
Rep Power: 7 |
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; 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. |
|
September 13, 2021, 10:58 |
|
#2 |
New Member
Join Date: Oct 2019
Posts: 10
Rep Power: 7 |
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 |
|
Tags |
dynamic mesh;, sample utility |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] Extracting ParaView Data into Python Arrays | Jeffzda | ParaView | 30 | November 6, 2023 22:00 |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 07:09 |
Dynamic Mesh | kennyboy | FLUENT | 1 | February 23, 2019 02:52 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
Dynamic Mesh moving interface help | akash.iitb | FLUENT | 0 | August 24, 2010 00:53 |