|
[Sponsors] |
[ImmersedBoundary] Immersed Boundary Cylinder Tutorial using IcoIbFoam application |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 4, 2015, 05:53 |
|
#21 |
Senior Member
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 18 |
hello,
I am looking to use immersed boundary with extend 3.1 - 3.2 for vacuum roots pump, but i do not see anything to move (rotate) the immersed boundary, neither to refine: pimpleIbFoam is not here. At OFW10, Kyle has shown such simulation with parallel load balancing, refine, moving IB surface, ... all i need. How can i get my hand on it ? If needed, support contract for this is a possibility. regards, olivier |
|
October 9, 2015, 03:54 |
immersed boundary with sixDoFsolver
|
#22 |
New Member
Ashkan Rafiee
Join Date: Jun 2015
Posts: 16
Rep Power: 11 |
Hi All,
I just downloaded foam-extend 3.2 and was wondering if it is possible to model the floating box (sixDoFsolver) with immersed boundary. I would appreciate of anyone give me some hint on how to mix immersed boundary with sixDoFsolver. Thanks a lot guys |
|
October 10, 2015, 06:56 |
|
#23 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: See posts #8 and #11 on this thread: http://www.cfd-online.com/Forums/ope...tml#post567229
|
|
October 12, 2015, 00:17 |
|
#24 |
New Member
Ashkan Rafiee
Join Date: Jun 2015
Posts: 16
Rep Power: 11 |
Hi Bruno,
Thank you very much for your reply. I did as you instructed however, it fails with floating point exception. Code:
Create time Create dynamic mesh for time = 0 Selecting dynamicFvMesh immersedBoundarySolidBodyMotionFvMesh Selecting solid-body motion function linearOscillation Reading transportProperties Reading field p Reading field U Reading/calculating face flux field phi Starting time loop Time = 0.01 solidBodyMotionFunctions::linearOscillation::transformation(): Time = 0.01 transformation: ((0.012565 0 0) (1 (0 0 0))) Moving immersed boundary points for patch ibCylinder Mesh update1 Create immersed boundary cell mask Create immersed boundary face mask Found immersed boundary patch 0 named ibCylinder External flow Number of IB cells: 36 Courant Number mean: 0.126712 max: 0.5 velocity magnitude: 1 BiCGStab: Solving for Ux, Initial residual = 0.0890341, Final residual = 1.47439e-09, No Iterations 2 Floating point exception (core dumped) Code:
--> FOAM Warning : From function dlLibraryTable::open(const fileName& functionLibName) in file db/dlLibraryTable/dlLibraryTable.C at line 91 could not load /media/Data/foam/foam-extend-3.2/lib/linux64GccDPOpt/libimmersedBoundaryDynamicFvMesh.so: undefined symbol: _ZTIN4Foam13dynamicFvMeshE I would highly appreciate your comments. Cheers Ash |
|
October 12, 2015, 17:02 |
|
#25 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick questions and suggestion @Ash:
|
|
October 13, 2015, 03:04 |
|
#26 | |||
New Member
Ashkan Rafiee
Join Date: Jun 2015
Posts: 16
Rep Power: 11 |
Hi Bruno,
here are the details of my OS: Code:
hpc162@hpc162:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.5 LTS Release: 12.04 Codename: precise Code:
hpc162@hpc162:~$ uname -m x86_64 Code:
git clone git://git.code.sf.net/p/foam-extend/foam-extend-3.2 foam-extend-3.2 cd foam-extend-3.2 git checkout nextRelease Quote:
Code:
sudo apt-get install git-core build-essential binutils-dev flex \ bison zlib1g-dev qt4-dev-tools libqt4-dev libncurses5-dev \ libxt-dev rpm mercurial graphviz Quote:
Quote:
Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | foam-extend: Open Source CFD | | \\ / O peration | Version: 3.2 | | \\ / A nd | Web: http://www.foam-extend.org | | \\/ M anipulation | For copyright notice see file Copyright | \*---------------------------------------------------------------------------*/ Build : 3.2-e596b6462cf7 Exec : icoIbFoam Date : Oct 13 2015 Time : 14:01:40 Host : hpc162 PID : 25045 CtrlDict : "/media/DATA_1TB/foam_ext_Simulations/ImmersedBoundary/cylinderInChannelIcoIbFoam/system/controlDict" Case : /media/DATA_1TB/foam_ext_Simulations/ImmersedBoundary/cylinderInChannelIcoIbFoam nProcs : 1 SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Create immersed boundary cell mask Create immersed boundary face mask Found immersed boundary patch 0 named ibCylinder External flow Number of IB cells: 38 Reading transportProperties Reading field p Reading field U Floating point exception (core dumped) |
||||
October 13, 2015, 03:26 |
|
#27 |
New Member
Ashkan Rafiee
Join Date: Jun 2015
Posts: 16
Rep Power: 11 |
Hi again Bruno,
I tried to run few simulations to test my installation (icoFoam, interDyMFoam and icoDyMFoam). In case of icoDyMFoam I ran movingConeMotion and got the same floating point exception error. Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | foam-extend: Open Source CFD | | \\ / O peration | Version: 3.2 | | \\ / A nd | Web: http://www.foam-extend.org | | \\/ M anipulation | For copyright notice see file Copyright | \*---------------------------------------------------------------------------*/ Build : 3.2-e596b6462cf7 Exec : icoDyMFoam Date : Oct 13 2015 Time : 14:17:51 Host : hpc162 PID : 25446 CtrlDict : "/media/DATA_1TB/foam_ext_Simulations/movingConeMotion/system/controlDict" Case : /media/DATA_1TB/foam_ext_Simulations/movingConeMotion nProcs : 1 SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create dynamic mesh for time = 0 Selecting dynamicFvMesh dynamicMotionSolverFvMesh Floating point exception (core dumped) |
|
October 17, 2015, 16:12 |
|
#28 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi cfdwave,
OK, there are a few possibilities for the problem you're seeing:
Bruno
__________________
|
||
October 18, 2015, 04:57 |
|
#29 | |
New Member
Ashkan Rafiee
Join Date: Jun 2015
Posts: 16
Rep Power: 11 |
Quote:
Thanks for your comments. I followed your instructions step-by-step yet again it failed with the same error. I don't think there is any issue on my mounted drive (I have few versions of openfoam installed on the same drive and all working just fine) or my hardware. I have been very hesitant to upgrade my Ubuntu (I learned a lesson in hard way that when my system is working don't upgrade it ) but will try to see if I can try it on another machine with Ubuntu 14. Thanks again Ashkan |
||
October 18, 2015, 07:38 |
|
#30 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Ashkan,
The other possibility that I forgot to mention is that perhaps you have something in the shell environment that is contaminating the memory space used by the solver. Either a previous foam-extend or OpenFOAM version might be partially loaded in the environment you are working in, when you activate the one for foam-extend 3.2. Make sure you start in a clean terminal... you can find some more details here: http://openfoamwiki.net/index.php/In...with_the_Shell The other possibility is if you have something that is using the library preload feature that exists on Linux, where an environment variable can force one or more libraries to be always loaded onto RAM with each application that is launched from the command line. And indeed, don't upgrade your operating system unless you are 110 to 200% prepared to do so. One small mistake and you're set back several days/weeks of work. Best regards, Bruno |
|
January 21, 2016, 01:15 |
immersedBoundaryFvPatchField in OpenFoam
|
#31 |
Member
Francis
Join Date: Jan 2014
Location: Toronto
Posts: 50
Rep Power: 12 |
Hi Foamers,
I have going through the ImmersedBoundary patches and patchFields in openfoam and could not fully understand the implementation. Actually, I need to understand the theory behind the IB boundary condition code in OF so that I can take into account the flexibility of the IB. Although, I have a lot of journals on IBM but it is not clear to me how the forcing term in the N-S equation has been implemented in OpenFoam BC on the fields. Do anyone have any literature that is specific to this code ? Please share a link. I will be so grateful. See attached codes files. |
|
January 21, 2016, 15:25 |
|
#32 | |
Senior Member
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 18 |
Quote:
http://openfoam-extend.sourceforge.n...7_Program.html Cheers! K |
||
May 29, 2017, 07:42 |
|
#33 | |
Member
Vu
Join Date: Nov 2016
Posts: 42
Rep Power: 10 |
Quote:
I'm getting the same error after trying to make some adjustment in the cylinderInChannelIcoIbFoam tutorials in foam-extend 3.2. All i've done is to change the boundary condition of inlet and outlet to cyclic. Do you think that the boundary condition can influence the process of finding the immersed boundary? |
||
July 16, 2021, 04:45 |
|
#34 |
New Member
Jianfeng
Join Date: Apr 2021
Posts: 11
Rep Power: 5 |
I worked on the mesh refinement as well, at the same time I refined the stl triangle meshes, however, the same error occured. I checked and find there is one coefficient , radiusFactor_ that can be changed in the souce code of immersedBoundaryFvPatch, sometimes it worked, but when I increased it greatly, the matrix will be singular, I am stuck. Actually I made it output the coordinates of the ibcells, and found the cells didn't assemble well with the boundary. I am working on the backstep turbulence flow.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error - Solar absorber - Solar Thermal Radiation | MichaelK | CFX | 12 | September 1, 2016 06:15 |
Is Playstation 3 cluster suitable for CFD work | hsieh | OpenFOAM | 9 | August 16, 2015 15:53 |
Wrong flow in ratating domain problem | Sanyo | CFX | 17 | August 15, 2015 07:20 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 08:00 |
New topic on same subject - Flow around race car | Tudor Miron | CFX | 15 | April 2, 2004 07:18 |