|
[Sponsors] |
June 5, 2023, 02:35 |
move an object in chtMultiregionFoam
|
#1 |
Senior Member
Desh
Join Date: Mar 2021
Location: Sydney
Posts: 118
Rep Power: 5 |
Hi Foamers,
I've worked a bit with chtMultiRegionFoam but I have no experience on 'moving objects'. I have a very simple case, a solid component submerged in a fluid. Now, I have two questions; Q1 - Can I move this object, say to only in z-direction in this fluid domain. if yes, what would be the closest tutorial I should be looking at ? Q2 - Can I make this object disappear at a time and replace the void with the fluid ? If yes, could you direct me to a starting point. What would be the easy thing to do between Q1 and Q2 if these are possible at all. I would highly appreciate your suggestions. Thank you |
|
June 5, 2023, 04:42 |
|
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29 |
Hello,
As far as I know, chtMultiRegionFoam does not support dynamic meshes so I don't think it's possible to move an object with this solver. Regards, Yann |
|
June 5, 2023, 20:05 |
|
#3 |
Senior Member
Desh
Join Date: Mar 2021
Location: Sydney
Posts: 118
Rep Power: 5 |
Hi Yann,
Thank you for your reply, that's what I was being afraid of. I think you are right, https://bugs.openfoam.org/view.php?id=3499 Any ideas to work around this ? Cheers, Dasith |
|
June 7, 2023, 02:27 |
|
#4 |
Member
Tatsuya Shimizu
Join Date: Jul 2012
Posts: 42
Rep Power: 14 |
chtMultiRegionFoam does not support dymamicMesh. However, you can Q1 you want by coupling buoyantPimpleFoam and solidFoam which supports dynamicMesh. A sample is in tutorials/multiphase/compressibleInterFoam/laminar/waterCooler. However, I believe you can do simple motions like a solid rotating rigidly, but if the solid is a complex motion, you would have a hard time setting it up. Also, it is unknown whether a heat flux at the fluid-solid interface can be calculated correctly when the solid is in motion.
Note that the sample case given here is a case where the solid is stationary, and you would need to rewrite a solid side dictionaries to move. Finally, I have used this technique to do cooling analysis of rotating solids.
__________________
Our Work: https://www.idaj.co.jp/product/ennovacfd/openfoam_gui/ Powered by Ennova : https://ennova-cfd.com/ Ennova's Channel Partners : http://www.wolfdynamics.com/ |
|
June 7, 2023, 23:59 |
|
#5 |
Senior Member
Desh
Join Date: Mar 2021
Location: Sydney
Posts: 118
Rep Power: 5 |
Hi Tatsuya,
Thank you for the input, I will have a look into it Dasith |
|
June 8, 2023, 00:24 |
|
#6 |
Member
Tatsuya Shimizu
Join Date: Jul 2012
Posts: 42
Rep Power: 14 |
Hello Dasith
This movie is a coupled analysis of VOF + rotating solids. I hope it will be helpful. https://drive.google.com/file/d/1y4m...U_mDGFVtO/view LongGe
__________________
Our Work: https://www.idaj.co.jp/product/ennovacfd/openfoam_gui/ Powered by Ennova : https://ennova-cfd.com/ Ennova's Channel Partners : http://www.wolfdynamics.com/ |
|
July 10, 2023, 22:34 |
|
#7 |
Senior Member
Desh
Join Date: Mar 2021
Location: Sydney
Posts: 118
Rep Power: 5 |
Hi foarmers,
Thank you for all the inputs. I found the easiest way to block and release a flow in a channel. I am simply using ''explicitPorositySource'' in the fluid region with high resistance values of D when I want to block the flow and vice versa when I want the flow to go freely. Problem now is the solver becomes so unstable (crashes ) when I suddenly change the 'D' value from 1e20 to 0. Any ideas resolving the issue? Thank you Dasith |
|
July 10, 2023, 22:51 |
|
#8 |
Member
Tatsuya Shimizu
Join Date: Jul 2012
Posts: 42
Rep Power: 14 |
__________________
Our Work: https://www.idaj.co.jp/product/ennovacfd/openfoam_gui/ Powered by Ennova : https://ennova-cfd.com/ Ennova's Channel Partners : http://www.wolfdynamics.com/ |
|
July 12, 2023, 21:12 |
|
#9 | |
Senior Member
Desh
Join Date: Mar 2021
Location: Sydney
Posts: 118
Rep Power: 5 |
Quote:
PHP Code:
Thanks |
||
Tags |
chtmultiregionfoam, moving body |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] Drawing a cylindrical object for viewing in Paraview | jeosol | ParaView | 1 | May 23, 2017 04:08 |
Calculation diverges, Liquid behavior around a rotating object | toru | OpenFOAM Running, Solving & CFD | 0 | December 1, 2016 11:54 |
[foam-extend.org] Error compiling OpenFOAM-1.6-ext | Canesin | OpenFOAM Installation | 137 | January 20, 2016 15:56 |
How to define 2 grids to move the inner object? | lepetitmort | ANSYS Meshing & Geometry | 5 | July 1, 2011 16:58 |
OpenFOAM141dev linking error on IBM AIX 52 | matthias | OpenFOAM Installation | 24 | April 28, 2008 16:49 |