|
[Sponsors] |
Oscillating cylinderTocell Field with topSetDict in openFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 21, 2018, 03:50 |
Oscillating cylinderTocell Field with topSetDict in openFoam
|
#1 |
Member
Ben 017
Join Date: Nov 2017
Posts: 70
Rep Power: 9 |
Hello Foamers,
I want to ask if there is a way i can code a cylinderTocell field to oscillate. Indeed, I created cylinderTocell field using topoSetDict, I want to know it can be put in motion. I have seen in interFoam tutorials, setFieldsDict is used to give a velocity to a boxtocell Field. Please help me to find out if there is a way this cylinderTocell Field can be moved(oscillating motion). my ultimate goal is to simulate flow over that cylinder? (stationary and oscillating). I thought that cylinder will be immersed not body fitted? Does it sound feasible? I will be happy to hear from you. Regards! |
|
June 24, 2018, 18:27 |
|
#2 |
Senior Member
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16 |
I think if you convect the field F by solving
fvm::ddt(F) + fvm::div(phi, F) = 0 it should work. In principle you should solve a 3D advection equation. The mass flow phi = fvc::interpolate(U) & mesh.Sf(); U has to be modified each time step to the desired value. |
|
June 25, 2018, 02:19 |
|
#3 | |
Member
Ben 017
Join Date: Nov 2017
Posts: 70
Rep Power: 9 |
Quote:
Hello, Thank you for reply, Help me as a beginner of Open Foam, How to model and code such oscillating motion of the Cylinder Field. Which solver to modify and which tutorial should I consult to understand this. I have attached on this post my case setup that have lead me to that cylindrical shape. Hope you are going to help Thank you! |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Foam::error::PrintStack | almir | OpenFOAM Running, Solving & CFD | 92 | May 21, 2024 08:56 |
[Other] dynamicTopoFVMesh and pointDisplacement | RandomUser | OpenFOAM Meshing & Mesh Conversion | 6 | April 26, 2018 08:30 |
Floating issue when running openfoam through grasshopper | Mark JIN | OpenFOAM | 1 | May 24, 2017 22:04 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |