|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
peyman havaej
Join Date: Jan 2016
Posts: 16
Rep Power: 10 ![]() |
Dear Formers
I wanted to test dynamic mesh motion by groovyBC utility. Hence, I attempt to run the tutorial of movingConeDistorted. While the mesh can be moved correctly with velocityComponentLaplacian solver, When I run the movingConeDistorted case with velocityLaplacian solver, the mesh did not move by groovyBC boundary condition. Is it a bug in groovyBC which cause mesh does not move? or is something wrong in this case setup? Could someone give me an explanation about this problem, please? I appreciate that. Thank you. |
|
![]() |
![]() |
![]() |
![]() |
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 ![]() ![]() |
Quote:
Tthe movingConeDistorted case is unchanged since 2012 and uses velocityLaplacian since then. At least the one in swak4Foam. Which version are you using? (of groovyBC? Which OpenFOAM-version?)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
peyman havaej
Join Date: Jan 2016
Posts: 16
Rep Power: 10 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#4 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 ![]() ![]() |
Quote:
Two very unsatisfactory answers - works for me - your versions (both foam-extend and swak4foam) are rather old (I haven't got a fe4.0 installation. Otherwise I could check whether this works with the current swak4foam version)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request Last edited by gschaider; August 23, 2019 at 04:04. Reason: Because |
||
![]() |
![]() |
![]() |
![]() |
#5 | |
New Member
peyman havaej
Join Date: Jan 2016
Posts: 16
Rep Power: 10 ![]() |
Quote:
Thanks for your answer I installed the new version of swak4Foam according to openfoamwiiki; unfortunately, it did not work. Since I attempt to simulate a FSI problem with solids4foam toolkit, I have to use fe40. A trick which I found for resolving the mesh motion with groovyBC is as follow. in contrast to the original movingConeDistorted case, the boundary condition for the moving wall was defined in the cellMotion as below: movingWall { type groovyBC; value uniform (0 0 0); valueExpression "vector(sin(pi*time()/0.006)*(0.2+pos().y*1.2e2),0,0)"; } and for pointMotion: movingWall { type groovyBC; value (0 0 0); valueExpression "toPoint(cellMotionU)"; } with these modifications, the mesh is moved without any problem by velocityLaplacian solver. However, I am not sure that these changes in the boundary conditions of cellMotion and pointMotion will result in correct mesh motion or not. Please kindly find the attached files. I will be delighted if I receive your suggestions and comments. |
||
![]() |
![]() |
![]() |
Tags |
boundary condition, dynamic mesh, groovybc, openfoam, swak4foam |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 06:09 |
dynamicFvMesh - tabulated motion of a solid body + mesh morphing | HendrikW | OpenFOAM Pre-Processing | 3 | December 3, 2019 02:05 |
Mesh motion with Translation & Rotation | Doginal | CFX | 2 | January 12, 2014 06:21 |
3D Hybrid Mesh Errors | DarrenC | ANSYS Meshing & Geometry | 11 | August 5, 2013 06:42 |
Dynamic moving mesh | Pei-Ying Hsieh (Hsieh) | OpenFOAM Running, Solving & CFD | 64 | June 7, 2012 10:04 |