CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   IcoFsiFoam (http://www.cfd-online.com/Forums/openfoam-solving/58051-icofsifoam.html)

vinz December 12, 2006 05:19

Hi everybody, I start a new
 
Hi everybody,

I start a new thread on this specific solver to know if anyone (except the developers) already tried it.
Indeed, like I said in another thread, I tried to make a case directory (like the ones in tutorials) for this solver, but it looks like I don't put the files in their correct location. My case is a deformable cylinder in a channel.
Could anyone tell me the arrengement of files and directories to solve such a problem?

I'll appreciate any help

Regards,

Vincent

jorn January 27, 2008 17:16

I'm using Ansys/CFX for FSI, a
 
I'm using Ansys/CFX for FSI, am new to OpenFOAM. Cannot find this FSI solver. Where can I get it and is there some kind of documentation on it? I'm trying to solve deformation-induced laminar scalar transport.
Thanks,
Jorn

hjasak January 27, 2008 17:34

The solver is described in sli
 
The solver is described in slides from the MIT CFD Conference on FSI last year (Tukovic, Jasak:

FSI in OpenFOAM

and you can find a version of the solver in the SVN: icoFsiFoam

Here's a little animation to cheer you up. There are others in http://powerlab.fsb.hr/ped/kturbo/Op.../bentPipeFine/ directory.

Enjoy,

Hrv

jorn January 27, 2008 23:04

Thanks Hrv, I have recently
 
Thanks Hrv,

I have recently downloaded the 1.4.1 version of OpenFOAM and am running it on Ubuntu.

I retrieved the icoFsiFoam solver from the repository. Should I now use wmake to compile the solver?

If I do that I get the following errors:

icoFsiFoam.C:38:28: error: tetFemMatrices.H: No such file or directory
icoFsiFoam.C:39:28: error: tetPointFields.H: No such file or directory
icoFsiFoam.C:40:30: error: faceTetPolyPatch.H: No such file or directory
icoFsiFoam.C:41:39: error: tetPolyPatchInterpolation.H: No such file or directory
icoFsiFoam.C:42:42: error: fixedValueTetPolyPatchFields.H: No such file or directory
In file included from icoFsiFoam.C:60:
readCouplingProperties.H: In function 'int main(int, char**)':
readCouplingProperties.H:66: error: 'tetPointVectorField' was not declared in this scope
readCouplingProperties.H:66: error: 'motionU' was not declared in this scope
readCouplingProperties.H:67: error: expected type-specifier before 'tetPointVectorField'
readCouplingProperties.H:67: error: expected `>' before 'tetPointVectorField'
readCouplingProperties.H:67: error: expected `(' before 'tetPointVectorField'
readCouplingProperties.H:67: error: expected primary-expression before '>' token
readCouplingProperties.H:69: error: 'tetPointVectorField' cannot appear in a constant-expression
readCouplingProperties.H:72: error: no matching function for call to 'Foam::fvMesh::lookupObject(const char [8]) const'
readCouplingProperties.H:73: error: expected `)' before ';' token
readCouplingProperties.H:76: error: 'fixedValueTetPolyPatchVectorField' was not declared in this scope
readCouplingProperties.H:76: error: 'motionUFluidPatch' was not declared in this scope
readCouplingProperties.H:77: error: 'fixedValueTetPolyPatchVectorField' cannot appear in a constant-expression
readCouplingProperties.H:82: error: 'tetPolyPatchInterpolation' was not declared in this scope
readCouplingProperties.H:82: error: expected `;' before 'tppi'
In file included from icoFsiFoam.C:75:
setMotion.H:30: error: 'tppi' was not declared in this scope
make: *** [Make/linuxGccDPOpt/icoFsiFoam.o] Error 1




Do I need to get additional files to make icoFsiFoam work? As you can tell I'm quite new to this stuff; I'd appreciate any help!
BTW the movies look awesome, that is exactly what I need for my project.

Cheers,
Jorn

santoo November 10, 2008 09:58

I am also getting the same err
 
I am also getting the same errors when I tried to install icoFsiFoam. I am using OpenFoam-1.5 version.
Also, I couldn't find the above files in $FORM_SRC directory.
--Santhosh

mathieu November 10, 2008 11:53

Hi Santhosh, The easiest wa
 
Hi Santhosh,

The easiest way to use icoFsiFoam (without modifying any code) is to install the whole OF 1.4.1-dev package from:
http://openfoam-extend.wiki.sourceforge.net/

If you want to use OF 1.5, you have 2 choices:

1. You remove the "tet-fem" mesh motion components from icoFsiFoam and replace them with mesh motion stuff already included in OF 1.5.

or

2. You install the "tet-fem" mesh motion components from openFoam-extend in OF 1.5.

Good luck,

Mathieu

santoo November 11, 2008 02:56

Thanks in bunch Mathieu.
 
Thanks in bunch Mathieu.

velan January 26, 2009 10:43

Hi Mathieu, Can you please
 
Hi Mathieu,

Can you please tell me how to remove or install tet-fem ( I am new to C++ ) or replace with mesh motion stuff. I try to compile icoFsiFoam in openfoam 1.5 and 1.5-dev. I got the same error message.

Making dependency list for source file icoFsiFoam.C
could not open file tetFemMatrices.H for source file icoFsiFoam.C
could not open file faceTetPolyPatch.H for source file icoFsiFoam.C
could not open file tetPolyPatchInterpolation.H for source file icoFsiFoam.C
could not open file fixedValueTetPolyPatchFields.H for source file icoFsiFoam.C
could not open file tetPointFields.H for source file icoFsiFoam.C
SOURCE=icoFsiFoam.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/vc/OpenFOAM/OpenFOAM-1.5/src/finiteVolume/lnInclude -I/home/vc/OpenFOAM/OpenFOAM-1.5/src/dynamicFvMesh/lnInclude -I/home/vc/OpenFOAM/OpenFOAM-1.5/src/dynamicMesh/lnInclude -I/home/vc/OpenFOAM/OpenFOAM-1.5/src/tetDecompositionFiniteElement/lnInclude -I/home/vc/OpenFOAM/OpenFOAM-1.5/src/tetDecompositionMotionSolver/lnInclude -IlnInclude -I. -I/home/vc/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude -I/home/vc/OpenFOAM/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPOpt/icoFsiFoam.o
icoFsiFoam.C:38:28: error: tetFemMatrices.H: No such file or directory
icoFsiFoam.C:39:30: error: faceTetPolyPatch.H: No such file or directory
icoFsiFoam.C:40:39: error: tetPolyPatchInterpolation.H: No such file or directory
icoFsiFoam.C:41:42: error: fixedValueTetPolyPatchFields.H: No such file or directory
icoFsiFoam.C:42:28: error: tetPointFields.H: No such file or directory
In file included from icoFsiFoam.C:59:
readCouplingProperties.H: In function 'int main(int, char**)':
readCouplingProperties.H:66: error: 'tetPointVectorField' was not declared in this scope
readCouplingProperties.H:66: error: 'motionU' was not declared in this scope
readCouplingProperties.H:67: error: expected type-specifier before 'tetPointVectorField'
readCouplingProperties.H:67: error: expected `>' before 'tetPointVectorField'
readCouplingProperties.H:67: error: expected `(' before 'tetPointVectorField'
readCouplingProperties.H:67: error: expected primary-expression before '>' token
readCouplingProperties.H:69: error: 'tetPointVectorField' cannot appear in a constant-expression
readCouplingProperties.H:72: error: no matching function for call to 'Foam::fvMesh::lookupObject(const char [8]) const'
readCouplingProperties.H:73: error: expected `)' before ';' token
readCouplingProperties.H:76: error: 'fixedValueTetPolyPatchVectorField' was not declared in this scope
readCouplingProperties.H:76: error: 'motionUFluidPatch' was not declared in this scope
readCouplingProperties.H:77: error: 'fixedValueTetPolyPatchVectorField' cannot appear in a constant-expression
readCouplingProperties.H:82: error: 'tetPolyPatchInterpolation' was not declared in this scope
readCouplingProperties.H:82: error: expected `;' before 'tppi'
In file included from icoFsiFoam.C:82:
setMotion.H:22: error: 'tppi' was not declared in this scope
/home/vc/OpenFOAM/OpenFOAM-1.5/src/finiteVolume/lnInclude/readTimeControls.H:40: warning: unused variable 'maxCo'
make: *** [Make/linuxGccDPOpt/icoFsiFoam.o] Error 1

mathieu January 26, 2009 11:41

Hi Velan, icoFsiFoam should
 
Hi Velan,

icoFsiFoam should compile properly in OF-1.5-dev, in fact, it compiles on my installation. I can't say much more about this since I am still working on OF-1.4.1-dev (looks like I am not ready to switch yet; I want to run some validation tests before to switch). I guess installing tet-fem components in OF-1.5 would be a tedious experience if you are new to C++...

Did your OF-1.5-dev installation compiled perfectly (this means without any error message)?

Mathieu

velan January 26, 2009 13:19

Hi Mathieu No, OF-1.5-dev
 
Hi Mathieu

No, OF-1.5-dev installation gave error (which posted above). So i downloaded the icoFsiFoam.tar.gz file and try to compile it in OF-1.5, but that too giving error.

pellrk03 March 19, 2009 07:20

same Problem
 
Hi velan,
I've got the same problem as you and the same error. Using OpenFOAM 1.5 as well. Did you find a solution to run icoFsiFoam?

Thanks Hannes Fugmann

velan March 19, 2009 13:34

Hi Hannes,

I found, the problem was in gcc while installing openfoam-1.5-dev version. I downloaded the source file of 1.5-dev version and Thirdparty tar files. After untar those files, i found gcc-4.3.1 directory was missing in Thirdparty directory. First i couldnt notice about it, so by default it used system gcc while installation. So i got those errors. Then i noticed and took the gcc-4.3.1 directory from openfoam-1.5 version and compiled. It does perfectly :). Now i am working on openfoam-1.5-dev version and also icoFsiFoam is working well.
You can check which gcc and change it.
Hope this helps you.

-Velan

hamcer September 22, 2010 07:10

OF-1.6 bentPipeFine
 
hi everyday

Is there a solution to run icoFsfoam on openfoam-1.6?

Thanks in advance.

hamcer September 22, 2010 11:15

generic mesh
 
Hi everyday,

can somebody tell me what is th wrong in this test example?
you can downloading my file from:
http://www.mediafire.com/myfiles.php
it seems that there are conflict between of-dev and of-1.6, this is the error when I run the test with OF-1.6.

thank you in advance

Nacer.

hamcer November 3, 2010 07:20

hello foamers,

I'm doing a test case using icoFsifoam, but instead of using fluid / solid I use fluid / fluid. the aim is to follow the interface between water and air emerging from an injector, I change the Young's modulus by decreasing, but the calculation sends an error message "floting point error" .
can we simulate solid to a fluid by modifying the mecanical properties, or we must make radiacales modifications?
any idea will be welcome

hamcer


All times are GMT -4. The time now is 20:47.