|
[Sponsors] |
[ImmersedBoundary] About the moving immersed boundary tutorial: icoDyMIbFoam+movingCylinderInChannelIco |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 14, 2016, 06:29 |
|
#21 |
New Member
Daniel Brunner
Join Date: Sep 2015
Posts: 8
Rep Power: 11 |
ShinyRiver,
Any motion will be described by the solidBodyMotionFunctions-class. This is the same as one usually uses for moving meshes. If you have the desire to add an additional function you can do that by copying an existing function e.g. translation and modify it as you please. After you did that, add the path into the files (Make folder) and compile the entire class. However it's not the best solution since you're changing the source code however it works. Best wishes Daniel |
|
July 4, 2017, 14:40 |
Make immersed boundarys compressible
|
#22 |
New Member
Robert Grandl
Join Date: Aug 2015
Posts: 16
Rep Power: 11 |
Hello everybody,
I am using ImmersedBounderys in foamExtend-3.2 and I want to adapt the compressible rhoPisoFoam-Solver to calculate use ImmersedBoundaries. So far, I changed the "immersedBoundaryAdjustPhi.H" from "fvc :: makeRelative (phi, U);" to "fvc :: makeRelative (phi, rho, U);" Using rhoPisoFoam as a basement, I've set up the solver as the solver_coockbook suggested. But every time I try to run it, an error occurs, caused by a division by zero. Responsible is basically cellIbMaskExt at 0 positions (solid body). The values for rho, h ans psi are at the same position also 0. Unfortunately, rho and h are poor implemented. So that correctBoundaryConditions() does not help at all. I hope someone can help me to make the solver run. I read, that the used implementation of immersedBoundaries, are of "Discrete Forcing Approach" and uses "direct imposition of boundary conditions". Are there more infomations about the used algorithm? Regards RobertG Last edited by RobertG; July 5, 2017 at 18:56. |
|
October 8, 2018, 06:39 |
|
#23 |
New Member
Alessandra Bavo
Join Date: Aug 2015
Location: Belgium
Posts: 2
Rep Power: 0 |
Hi all,
I am using foam-extend 4.0 and currently trying to run the tutorial movingCylinderInChannelIco. The case seems to run, but as soon as I want to display the results in paraFoam I get this error: size of field refValue (96) is not the same size as the patch (0) on patch ibCylinder of field U in file "/home/username/foam/foam-extend-4.0/tutorials/immersedBoundary/movingCylinderInChannelIco/0.2/U" By inspecting the velocity files, in 0/U the refValue is defined as uniform, while in 0.2/U refvalue becomes nonUniform and defined with a List of vectors. Is the error related to this difference? How can I fix it? Is it a paraFoam issue or there is something wrong with the case? I did set up a simple case very similar to this tutorial, and modified the U file (e.g. by specifying a nonUniform List also in 0/U) but the error is the same. Thank you in advance for your feedback A. |
|
July 16, 2020, 09:45 |
foam-extend-4.0/4.1 tutorial blockMesh
|
#24 |
New Member
Max Zwicker
Join Date: Apr 2019
Posts: 2
Rep Power: 0 |
Dear Foamers,
I am running a bunch of the Immersed Boundary method tutorials, specifically the movingCylinderInChannelIco tut. I played around extensively and a lot of stuff works quite well but I cannot refine the blockmesh. When changing the mesh in the blockmeshdict the solvers and particularly the meshInitialisation complain. I attached the error below. It's seems to be the same for both 4.0 and 4.1. Can someone help with it? Thanks in advance, Cheers Max ERROR: Create dynamic mesh for time = 0 Selecting dynamicFvMesh immersedBoundarySolidBodyMotionFvMesh --> FOAM FATAL ERROR: Error in point ordering: mixed used and unused points at the end of point list. Last used point: 0 (-1 -0.5 -0.04) First unused point: 1 (-0.982857 -0.5 -0.04) and point 1 (-0.982857 -0.5 -0.04) is used by a live face. Face 0 4(1 177 22353 22177) with points 4((-0.982857 -0.5 -0.04) (-0.982857 -0.492 -0.04) (-0.982857 -0.492 0.04) (-0.982857 -0.5 0.04)) Done. From function void polyMesh::initMesh() in file meshes/polyMesh/polyMeshInitMesh.C at line 166. FOAM aborting |
|
April 5, 2021, 12:17 |
|
#25 |
New Member
Abhishek Thakur
Join Date: Feb 2021
Posts: 3
Rep Power: 5 |
@mfrz
Did you find anything on your problem. I am getting same thing in Foam Extend 4.1 as i am changing the mesh Regards |
|
September 14, 2021, 18:15 |
|
#26 | |
New Member
M.H
Join Date: Dec 2013
Posts: 11
Rep Power: 13 |
Quote:
After preparing the boundary file, don't forget to copy it to the save/ directory. |
||
Tags |
immersed boundary method |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 08:38 |
My radial inflow turbine | Abo Anas | CFX | 27 | May 11, 2018 02:44 |
Domain Imbalance | HMR | CFX | 5 | October 10, 2016 06:57 |
Problem in setting Boundary Condition | Madhatter92 | CFX | 12 | January 12, 2016 05:39 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 08:00 |