CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

IcoFsiFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 12, 2006, 05:19
Default Hi everybody, I start a new
  #1
Senior Member
 
Vincent RIVOLA
Join Date: Mar 2009
Location: France
Posts: 283
Rep Power: 18
vinz is on a distinguished road
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
vinz is offline   Reply With Quote

Old   January 27, 2008, 17:16
Default I'm using Ansys/CFX for FSI, a
  #2
New Member
 
Jorn
Join Date: Mar 2009
Posts: 2
Rep Power: 0
jorn is on a distinguished road
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
jorn is offline   Reply With Quote

Old   January 27, 2008, 17:34
Default The solver is described in sli
  #3
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33
hjasak will become famous soon enough
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
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   January 27, 2008, 23:04
Default Thanks Hrv, I have recently
  #4
New Member
 
Jorn
Join Date: Mar 2009
Posts: 2
Rep Power: 0
jorn is on a distinguished road
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
jorn is offline   Reply With Quote

Old   November 10, 2008, 09:58
Default I am also getting the same err
  #5
New Member
 
santhosh
Join Date: Mar 2009
Location: India
Posts: 3
Rep Power: 17
santoo is on a distinguished road
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
santoo is offline   Reply With Quote

Old   November 10, 2008, 11:53
Default Hi Santhosh, The easiest wa
  #6
Member
 
Mathieu Olivier
Join Date: Mar 2009
Location: Quebec City, Canada
Posts: 77
Rep Power: 17
mathieu is on a distinguished road
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
mathieu is offline   Reply With Quote

Old   November 11, 2008, 02:56
Default Thanks in bunch Mathieu.
  #7
New Member
 
santhosh
Join Date: Mar 2009
Location: India
Posts: 3
Rep Power: 17
santoo is on a distinguished road
Thanks in bunch Mathieu.
santoo is offline   Reply With Quote

Old   January 26, 2009, 10:43
Default Hi Mathieu, Can you please
  #8
Member
 
Velan
Join Date: Mar 2009
Location: India
Posts: 50
Rep Power: 17
velan is on a distinguished road
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
velan is offline   Reply With Quote

Old   January 26, 2009, 11:41
Default Hi Velan, icoFsiFoam should
  #9
Member
 
Mathieu Olivier
Join Date: Mar 2009
Location: Quebec City, Canada
Posts: 77
Rep Power: 17
mathieu is on a distinguished road
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
mathieu is offline   Reply With Quote

Old   January 26, 2009, 13:19
Default Hi Mathieu No, OF-1.5-dev
  #10
Member
 
Velan
Join Date: Mar 2009
Location: India
Posts: 50
Rep Power: 17
velan is on a distinguished road
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.
velan is offline   Reply With Quote

Old   March 19, 2009, 07:20
Default same Problem
  #11
New Member
 
Hannes Fugmann
Join Date: Mar 2009
Posts: 6
Rep Power: 17
pellrk03 is on a distinguished road
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
pellrk03 is offline   Reply With Quote

Old   March 19, 2009, 13:34
Default
  #12
Member
 
Velan
Join Date: Mar 2009
Location: India
Posts: 50
Rep Power: 17
velan is on a distinguished road
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
velan is offline   Reply With Quote

Old   September 22, 2010, 08:10
Default OF-1.6 bentPipeFine
  #13
Member
 
hamdi
Join Date: Mar 2009
Posts: 75
Rep Power: 17
hamcer is on a distinguished road
hi everyday

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

Thanks in advance.

Last edited by hamcer; September 23, 2010 at 10:52.
hamcer is offline   Reply With Quote

Old   September 22, 2010, 12:15
Default generic mesh
  #14
Member
 
hamdi
Join Date: Mar 2009
Posts: 75
Rep Power: 17
hamcer is on a distinguished road
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.

Last edited by hamcer; September 28, 2010 at 04:57.
hamcer is offline   Reply With Quote

Old   November 3, 2010, 07:20
Default
  #15
Member
 
hamdi
Join Date: Mar 2009
Posts: 75
Rep Power: 17
hamcer is on a distinguished road
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
hamcer is offline   Reply With Quote

Reply


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
Icofsifoam varun OpenFOAM Running, Solving & CFD 8 April 27, 2011 07:10
Problem with icoFsiFoam in the latest OFdev mathieu OpenFOAM Bugs 7 September 23, 2010 09:22
Errors in running a icoFsiFoam case jin_xu OpenFOAM Pre-Processing 0 June 9, 2008 07:48
Errors in compling icoFsiFoam jin_xu OpenFOAM Running, Solving & CFD 5 June 4, 2008 21:15
IcoFsiFoam tutorial pbo OpenFOAM Running, Solving & CFD 0 March 6, 2008 10:02


All times are GMT -4. The time now is 02:43.