CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[ImmersedBoundary] About the moving immersed boundary tutorial: icoDyMIbFoam+movingCylinderInChannelIco

Register Blogs Community New Posts Updated Threads Search

Like Tree9Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 14, 2016, 06:29
Default
  #21
New Member
 
Daniel Brunner
Join Date: Sep 2015
Posts: 8
Rep Power: 11
DaniB1989 is on a distinguished road
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
ShinyRiver likes this.
DaniB1989 is offline   Reply With Quote

Old   July 4, 2017, 14:40
Default Make immersed boundarys compressible
  #22
New Member
 
Robert Grandl
Join Date: Aug 2015
Posts: 16
Rep Power: 11
RobertG is on a distinguished road
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.
RobertG is offline   Reply With Quote

Old   October 8, 2018, 06:39
Default
  #23
New Member
 
Alessandra Bavo
Join Date: Aug 2015
Location: Belgium
Posts: 2
Rep Power: 0
abavo is on a distinguished road
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.
abavo is offline   Reply With Quote

Old   July 16, 2020, 09:45
Default foam-extend-4.0/4.1 tutorial blockMesh
  #24
New Member
 
Max Zwicker
Join Date: Apr 2019
Posts: 2
Rep Power: 0
mfrz is on a distinguished road
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
mfrz is offline   Reply With Quote

Old   April 5, 2021, 12:17
Default
  #25
New Member
 
Abhishek Thakur
Join Date: Feb 2021
Posts: 3
Rep Power: 5
mitu_94 is on a distinguished road
@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
mitu_94 is offline   Reply With Quote

Old   September 14, 2021, 18:15
Default
  #26
New Member
 
M.H
Join Date: Dec 2013
Posts: 11
Rep Power: 12
gigili206 is on a distinguished road
Quote:
Originally Posted by mfrz View Post
Dear Foamers,

--> 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
This usually happens when you change the mesh but you forget to change the save/boundary file. Every time you change the mesh, you should copy the newly created boundary file and add the immersed boundary patch to it. You also have to change the StartFace value to the startFace value of the first patch. Take a look at the boundary file in save/ directory and prepare your boundary file accordingly after blockMesh.
After preparing the boundary file, don't forget to copy it to the save/ directory.
gigili206 is offline   Reply With Quote

Reply

Tags
immersed boundary method


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 04:28.