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

FSI solver

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   June 18, 2012, 06:47
Default FSI solver
  #1
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,195
Blog Entries: 1
Rep Power: 16
nimasam is on a distinguished road
Hi dear foamers
im going to simulate a non-Newtonian flow with flexible pipe.
it would be a fluid solid interaction (FSI)
which solver is suitable?
any hint or guideline ?
nimasam is offline   Reply With Quote

Old   June 18, 2012, 07:33
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 14
Bernhard is on a distinguished road
Maybe fsiFoam of OpenFOAM 1.6-extend?
Bernhard is offline   Reply With Quote

Old   June 18, 2012, 08:51
Default
  #3
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 585
Blog Entries: 5
Rep Power: 15
elvis will become famous soon enough
I agree with Berhard http://openfoam-extend.git.sourcefor...alysis;hb=HEAD

http://powerlab.fsb.hr/ped/kturbo/Op...Zagreb2007.pdf
outdated (OF1.2) FSI presentation & newtonian only (just for completeness).
http://www.openfoamworkshop.org/08/p...V_Kanyanta.pdf

a good read is 6th OF workshop =>Block-coupled solvers, I. Clifford, PSU
=>Multi-Zonal Multi-Physics Modeling: FSI and Congjugate Heat/Mass Transfer,R. Campbell and B. Craven, PSU
Fluid-Structure Interaction on sail fabric type structures Daniele Trimarchi (University of Southampton)

Numerical simulation of sailing boats dynamics FSI and shape optimization Manifolds Matteo Lombardi (École Polytechnique Fédérale de Lausanne)

there will be more FSI stuff on the 7th OF workshop so watch that presentations in a couple of weeks when they are online
nimasam likes this.
elvis is offline   Reply With Quote

Old   June 18, 2012, 14:07
Default
  #4
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,195
Blog Entries: 1
Rep Power: 16
nimasam is on a distinguished road
Hi again
i installed OpenFOAM 1.6-ext through debain pack,
in debain pack there is no example for icoFsiFoam.
and i could not launch to git "it gave me time out error connection"
However could you please put the solver example here
nimasam is offline   Reply With Quote

Old   June 18, 2012, 15:20
Default
  #5
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 585
Blog Entries: 5
Rep Power: 15
elvis will become famous soon enough
Hello,

how is your .bashrc for your debian installation of OpenFOAM 1.6-ext looking like?
My first impression is that this might be the cause of your trouble.

source /usr/lib/OpenFOAM-1.6-ext/etc/bashrc
export FOAM_TUTORIALS=/usr/share/doc/openfoam-1.6-ext/examples
... etc. This debian installation follows the debian guidelines and differs to OF habits
elvis is offline   Reply With Quote

Old   June 18, 2012, 15:23
Default
  #6
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,195
Blog Entries: 1
Rep Power: 16
nimasam is on a distinguished road
thanks for your reply, i found the example files in usr/share/doc but it dose not have any example for icoFsiFoam
nimasam is offline   Reply With Quote

Old   June 18, 2012, 16:03
Default
  #7
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 585
Blog Entries: 5
Rep Power: 15
elvis will become famous soon enough
Hi,

the tutorial case is http://openfoam-extend.git.sourcefor...eSmall;hb=HEAD

the solver is http://openfoam-extend.git.sourcefor...siFoam;hb=HEAD

or short cut sol cd stressAnalysis/icoFsiFoam to the sources.

I looked into 5th OF workshop installation and path there was
/usr/share/doc/openfoam-1.6-ext-dbg/examples/stressAnalysis/icoFsiFoam/flappingConsoleSmall to the "tutorial case example" consisting solid and fluid in seperate directories

hope that helps
elvis is offline   Reply With Quote

Old   June 21, 2012, 01:24
Default
  #8
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,195
Blog Entries: 1
Rep Power: 16
nimasam is on a distinguished road
as i said before, i found icoFsiFoam, but it does not have any example or tutorial case with it self: not in debain pack installation (http://openfoamwiki.net/index.php/Installation) not in kubuntu.iso from workshop (http://sourceforge.net/projects/openfoam-extend/)
and
i can not get OpenFOAM-extended from git with following command:
Quote:
git clone git://openfoam-extend.git.sourceforge.net/gitroot/openfoam-extend/OpenFOAM®-1.6-ext
because i face the following error:
Quote:
openfoam-extend.git.sourceforge.net[0: 216.34.181.91]: errno=Connection timed out
fatal: unable to connect a socket (Connection timed out)
however, thats why i asked, please put the test case here
Attached Images
File Type: jpg 1.jpg (60.8 KB, 58 views)
nimasam is offline   Reply With Quote

Old   June 23, 2012, 14:02
Default
  #9
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,659
Blog Entries: 39
Rep Power: 99
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings to all!

@Nima: check the front-page of the Extend-Project: http://www.extend-project.de/ - you'll find that the correct git clone command is this:
Code:
git clone git://openfoam-extend.git.sourceforge.net/gitroot/openfoam-extend/openfoam-extend OpenFOAM-1.6-ext
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   June 23, 2012, 14:17
Default
  #10
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,195
Blog Entries: 1
Rep Power: 16
nimasam is on a distinguished road
same error even with your command
nimasam is offline   Reply With Quote

Old   June 23, 2012, 14:42
Default
  #11
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,659
Blog Entries: 39
Rep Power: 99
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Nima,

Then try these, where the second should work even behind a firewall:
Code:
git clone git://repo.or.cz/OpenFOAM-1.6-ext.git 
git clone http://repo.or.cz/r/OpenFOAM-1.6-ext.git
FYI: these are mirrors of the main Extend-Project repository.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   September 7, 2016, 01:05
Default Error while unzipping
  #12
Member
 
Viraj Belekar
Join Date: Jun 2016
Posts: 35
Rep Power: 2
viraj20feb is on a distinguished road
Greetings,

I am trying to install the files required for FSI in foam-extend-3.1 and I am following the steps on this site: https://openfoamwiki.net/index.php/E...tutorial_cases

But when I give this command:
tar -xzf Fsi_31.tar.gz

There is an error stating:

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

Can anyone help?

Thank you
viraj20feb is offline   Reply With Quote

Old   September 7, 2016, 14:14
Default
  #13
Senior Member
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin,Ireland
Posts: 618
Rep Power: 21
bigphil will become famous soon enoughbigphil will become famous soon enough
Quote:
Originally Posted by viraj20feb View Post
Greetings,

I am trying to install the files required for FSI in foam-extend-3.1 and I am following the steps on this site: https://openfoamwiki.net/index.php/E...tutorial_cases

But when I give this command:
tar -xzf Fsi_31.tar.gz

There is an error stating:

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

Can anyone help?

Thank you
Hi Viraj,

You should be able to find the FSI code in the foam-extend-3.1/extend-bazaar directory; run the ./Allwmake script in the extend-bazaar directory to download and compile the code.

Philip
bigphil is offline   Reply With Quote

Old   September 8, 2016, 01:56
Default
  #14
Member
 
Viraj Belekar
Join Date: Jun 2016
Posts: 35
Rep Power: 2
viraj20feb is on a distinguished road
Quote:
Originally Posted by bigphil View Post
Hi Viraj,

You should be able to find the FSI code in the foam-extend-3.1/extend-bazaar directory; run the ./Allwmake script in the extend-bazaar directory to download and compile the code.

Philip
Hello Mr. Philip,

When I try to run the ./Allwmake script, I get the following error(Please refer attached).
Can you please help?

Thanks
Attached Images
File Type: png Selection_022.png (98.6 KB, 10 views)
viraj20feb is offline   Reply With Quote

Old   September 8, 2016, 10:09
Default
  #15
Senior Member
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin,Ireland
Posts: 618
Rep Power: 21
bigphil will become famous soon enoughbigphil will become famous soon enough
Quote:
Originally Posted by viraj20feb View Post
Hello Mr. Philip,

When I try to run the ./Allwmake script, I get the following error(Please refer attached).
Can you please help?

Thanks
Did you try run the "./Allwclean" script first and then run the "./Allwmake" script?
Also note that you need to be connected to the internet as the Allwmake script downloads the files.

If it is still failing, could you upload the entire text output of the Allwmake script here?

Philip
bigphil is offline   Reply With Quote

Old   September 9, 2016, 01:20
Default
  #16
Member
 
Viraj Belekar
Join Date: Jun 2016
Posts: 35
Rep Power: 2
viraj20feb is on a distinguished road
Quote:
Originally Posted by bigphil View Post
Did you try run the "./Allwclean" script first and then run the "./Allwmake" script?
Also note that you need to be connected to the internet as the Allwmake script downloads the files.

If it is still failing, could you upload the entire text output of the Allwmake script here?

Philip
Hi,

I tried running the Allwclean script followed by Allwmake script and I tried to make a log file for both. But what I see is the log file remains empty while the output in the terminal window is a continuous never-ending error. You can see the attached images(one is the output for Allwclean and another is for Allwmake script). I have attached both the scripts as well.

Thanks a lot

Viraj
Attached Images
File Type: jpg Selection_037.jpg (224.1 KB, 7 views)
File Type: jpg Selection_038.jpg (135.1 KB, 4 views)
Attached Files
File Type: gz Allw-files.tar.gz (580 Bytes, 1 views)
viraj20feb is offline   Reply With Quote

Old   September 11, 2016, 11:23
Default
  #17
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,659
Blog Entries: 39
Rep Power: 99
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings to all!

@viraj20feb:
Quote:
Originally Posted by viraj20feb View Post
But when I give this command:
tar -xzf Fsi_31.tar.gz

There is an error stating:

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
The problem is that your connection to the Internet is using another intermediate server to download the necessary files and instead of providing the correct file, it's providing some weird file.

Please follow these steps:
  1. Use the Internet Browser to visit the section "Installation" on this wiki page: https://openfoamwiki.net/index.php/E...n#Installation
  2. Find this block of text:
    Quote:
    First publicly available snapshot of the source code
    Is available here on the wiki, which was designed to work with ... Fsi_31.tar.gz
  3. Click on the link that is on the name "Fsi_31.tar.gz".
  4. It should now download a file that has 472 KB.
  5. Place the downloaded file inside the user folder. The user folder is indicated by the following command:
    Code:
    echo $WM_PROJECT_USER_DIR
  6. Now go to the command line and run:
    Code:
    cd $WM_PROJECT_USER_DIR
    tar -xzf Fsi_31.tar.gz
    cd FluidStructureInteraction/src/fluidStructureInteraction/stressModels/constitutiveModel
    
    pwd
    The last command will tell you the full path to the folder where you need to place the next two files.
  7. Now, on your Internet Browser, click on this link: https://github.com/wyldckat/FluidStr...titutiveModel/
  8. Click on the two files that are shown there (one at a time), namely on "constitutiveModel.C" and "constitutiveModel.H". For each file:
    1. it will show a new page with the contents of the file;
    2. right-click on the button that says "RAW" and save the linked file to the folder pointed out by the previous command from step #6
  9. Go back to the command line and run:
    Code:
    cd ../../..
    ./Allwmake

Hopefully this will solve the problem.


@bigphil:
Quote:
Originally Posted by bigphil View Post
You should be able to find the FSI code in the foam-extend-3.1/extend-bazaar directory; run the ./Allwmake script in the extend-bazaar directory to download and compile the code.
Sorry to say that doesn't work, due to later changes made to foam-extend 3.1 that broke the building mechanism for the extend-bazaar contributions. That's why I wrote the instructions given here: https://openfoamwiki.net/index.php/E...oam-extend_3.1

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   September 12, 2016, 02:42
Default
  #18
Member
 
Viraj Belekar
Join Date: Jun 2016
Posts: 35
Rep Power: 2
viraj20feb is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Greetings to all!

@viraj20feb:

The problem is that your connection to the Internet is using another intermediate server to download the necessary files and instead of providing the correct file, it's providing some weird file.

Please follow these steps:
  1. Use the Internet Browser to visit the section "Installation" on this wiki page: https://openfoamwiki.net/index.php/E...n#Installation
  2. Find this block of text:
  3. Click on the link that is on the name "Fsi_31.tar.gz".
  4. It should now download a file that has 472 KB.
  5. Place the downloaded file inside the user folder. The user folder is indicated by the following command:
    Code:
    echo $WM_PROJECT_USER_DIR
  6. Now go to the command line and run:
    Code:
    cd $WM_PROJECT_USER_DIR
    tar -xzf Fsi_31.tar.gz
    cd FluidStructureInteraction/src/fluidStructureInteraction/stressModels/constitutiveModel
    
    pwd
    The last command will tell you the full path to the folder where you need to place the next two files.
  7. Now, on your Internet Browser, click on this link: https://github.com/wyldckat/FluidStr...titutiveModel/
  8. Click on the two files that are shown there (one at a time), namely on "constitutiveModel.C" and "constitutiveModel.H". For each file:
    1. it will show a new page with the contents of the file;
    2. right-click on the button that says "RAW" and save the linked file to the folder pointed out by the previous command from step #6
  9. Go back to the command line and run:
    Code:
    cd ../../..
    ./Allwmake

Hopefully this will solve the problem.


@bigphil:

Sorry to say that doesn't work, due to later changes made to foam-extend 3.1 that broke the building mechanism for the extend-bazaar contributions. That's why I wrote the instructions given here: https://openfoamwiki.net/index.php/E...oam-extend_3.1

Best regards,
Bruno

Hi Mr. Bruno,

Thank you so much for your help. The problem is solved now
viraj20feb is offline   Reply With Quote

Old   September 12, 2016, 08:35
Default
  #19
Member
 
Viraj Belekar
Join Date: Jun 2016
Posts: 35
Rep Power: 2
viraj20feb is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Greetings to all!

@viraj20feb:

The problem is that your connection to the Internet is using another intermediate server to download the necessary files and instead of providing the correct file, it's providing some weird file.

Please follow these steps:
  1. Use the Internet Browser to visit the section "Installation" on this wiki page: https://openfoamwiki.net/index.php/E...n#Installation
  2. Find this block of text:
  3. Click on the link that is on the name "Fsi_31.tar.gz".
  4. It should now download a file that has 472 KB.
  5. Place the downloaded file inside the user folder. The user folder is indicated by the following command:
    Code:
    echo $WM_PROJECT_USER_DIR
  6. Now go to the command line and run:
    Code:
    cd $WM_PROJECT_USER_DIR
    tar -xzf Fsi_31.tar.gz
    cd FluidStructureInteraction/src/fluidStructureInteraction/stressModels/constitutiveModel
    
    pwd
    The last command will tell you the full path to the folder where you need to place the next two files.
  7. Now, on your Internet Browser, click on this link: https://github.com/wyldckat/FluidStr...titutiveModel/
  8. Click on the two files that are shown there (one at a time), namely on "constitutiveModel.C" and "constitutiveModel.H". For each file:
    1. it will show a new page with the contents of the file;
    2. right-click on the button that says "RAW" and save the linked file to the folder pointed out by the previous command from step #6
  9. Go back to the command line and run:
    Code:
    cd ../../..
    ./Allwmake

Hopefully this will solve the problem.


@bigphil:

Sorry to say that doesn't work, due to later changes made to foam-extend 3.1 that broke the building mechanism for the extend-bazaar contributions. That's why I wrote the instructions given here: https://openfoamwiki.net/index.php/E...oam-extend_3.1

Best regards,
Bruno

Hi Mr. Bruno,

I think the compilation was not completely successful. When I tried to run the 3Dpipe tutorial for fsiFoam solver, I get the following output:

./Allrun: 55: ./Allrun: fsiFoam: not found

I have also attached the output of ./Allwmake script. Please have a look.

Thank you
Attached Files
File Type: pdf Allwmake.pdf (38.3 KB, 1 views)

Last edited by viraj20feb; September 12, 2016 at 08:37. Reason: attachment forgotten
viraj20feb is offline   Reply With Quote

Old   September 13, 2016, 15:52
Default
  #20
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,659
Blog Entries: 39
Rep Power: 99
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Quick answer: Please run the following commands:
Code:
cd $WM_PROJECT_USER_DIR
cd FluidStructureInteraction/src/
./Allwmake > log.make 2>&1
gzip < log.make > log.make.gz
Then please attach the file "log.make.gz" to your next post. I ask this because the PDF file did not have any clear indication of any problem at all.
wyldckat is offline   Reply With Quote

Reply

Tags
flexible pipe, fsi

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
different results between serial solver and parallel solver wlt_1985 FLUENT 10 April 11, 2012 15:25
error in two way fsi kmgraju CFX 1 May 2, 2011 02:32
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
FSI Negative Element Volume Fatal Error Aaron CFX 2 July 1, 2008 20:48
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 14:08


All times are GMT -4. The time now is 08:34.