My layerAdditionRemoval demo
1 Attachment(s)
Hi,
after a week of meditation at OpenFOAM sources and examples of dynamic layering, I made it works! Attachment 38965 It uses interDyMPimple solver with movingConeTopoFvMesh and layerAdditionRemoval modifiers. Here I described all steps: https://ilyasivkov.wordpress.com/201...h-in-openfoam/ Ilya. |
Hi Ilya
This looks super promising. Thank you so much! Will give feedback before the end of the week. |
Hi Ilya
This demo is really awesome, thank you again. I tried to recreate your results by editing the damBreakWithObstacle tutorial case and adding the specified files of yours and I think I got it. I want to simulate the regression burn in a solid rocket motor. 1. Do you know if it is possible to set the velocity (motionVelAmplitude) of the moving boundary according to a dynamic variable calculated at each time step in the solver? 2. Is it possible to set this velocity for each cell on the boundary? I want to calculate the burn rate (mm/s) of each cell on the boundary and set the motionVelAmplitude equal to this. Thank you in advance |
Hi, PickIER,
As for motionVelAmplitude, it is always fixed. Field-dependent mesh movement is another powerful future op OpenFOAM, but I have not learned it yet. As for the engine, I am not sure you need moving mesh. Maybe, two-phase solvers can be used. Also I googled with "openfoam solid fuel mass flow" and found some articles: http://mediatum.ub.tum.de/doc/1226724/1226724.pdf http://projekter.aau.dk/projekter/fi...784/Report.pdf http://staff.polito.it/pietro.asinar...i_CPC_2011.pdf |
Hi all,
thanks for sharing your steps. It work very well. I have a question to you, do you know how to deal with boundarys that are moved due to velocity and you want to add adding/removing cells due to deformation. Imagine a pistion that is moving up. The mesh is compressed and after a special compression of the first cells you want to delete these cells. With dynamicMotionSolverFvMesh its not possible I think. |
I wonder if it's possible to do this kind add/removal on a curved surface? i.e., the moving object locates on the surface of a circular cylinder:confused:
|
Any updates?
Hi I am working with a floating object with a modification of interDyMFoam and my structure deforms the mesh due to unstable buoyant forces (which is a separate issue in itself :o). I have not been able to have the laterAdditionRemoval to work with the dynamicMotionSolverFvMesh using the steps in Ilya's tutorial.
Quote:
Thanks! Abbie |
Hi,
I hope you find some solution Abbie. I am currently looking at dynamic Mesh, and as Tobi said, that is not possible with the basic solver dynamicMotionSolverFvMesh to do add/removal cell, because it is a topological change and the solver is build in order to have no topological change. The movingConeTopoFvMesh is a derivated solver with topological change and morphing. I think the dynamic library give some brick and its own solver for its own case must be build as linearValveFvMesh (which is comment in the makefile for the topochangerFvMesh Library, in the Make/file note the */)... At this point of my discovery of thedynamic library and topologic change, I am wondering if the layerAdditionRemoval utility can work on snap cell at a cylindrcal surface. I change the linearValveLayerFvMesh, to perform a simple add/remove layer (no sliding as for original). When the code come to the point o do removal the result is Code:
bool layerAdditionRemoval::changeTopology() const for object layer : In LayerAdditonRemoval.C : Code:
// Layers moving towards removal |
to move an obstacle y axis
Hi
Putting the grate demo of ilya's moving obstacle into practice, i wanna make the case in which an obstacle move along y axis. Can I achive this goal with applying ilya's case? When I do "interDyMFoam",(it works until practicing setFields) MovingConeTopoFvMesh demand to define "leftEdge" in dynamicMeshDict.movingConeTopoFvMeshCoeffs ,dose it mean MovingConeTopoFvMesh can be only used in the case where the obstacle move along x axis??? |
movingPiston
Hiii foamers,
This thread is quite old but I think it will be a good place to continue the discussion here. I have been playing with "movingConeTopoFvMesh" for 3 days but I was not able to get it quite right for the case of a compressing piston. Even I've instantiated my own mesh changer out of "movingConeTopoFvMesh" and "topoChangerFvMesh" with some changes but still no success so far. somehow this addition and removal of layers doesn't work in 3d cases I guess. In general, pressure field will be the most affected field when you have mesh motion with movingCone. And if you stabilize it z.B. by lowering the movement speed, then the layers are not created or destroyed in 3d cases. does anyone have a clue on this ? |
All times are GMT -4. The time now is 21:33. |