CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM CC Toolkits for Fluid-Structure Interaction (https://www.cfd-online.com/Forums/openfoam-cc-toolkits-fluid-structure-interaction/)
-   -   InterFace mismatch in solids4Foam toolkit for HronTurekFSI3 (https://www.cfd-online.com/Forums/openfoam-cc-toolkits-fluid-structure-interaction/219997-interface-mismatch-solids4foam-toolkit-hronturekfsi3.html)

thegauravonline August 20, 2019 05:09

InterFace mismatch in solids4Foam toolkit for HronTurekFSI3
 
2 Attachment(s)
InterFace mismatch in solids4Foam toolkit for HronTurekFSI3

Hi...
a simple ./Allrun of the ...solids4foam/tutorials/fluidSolidInteraction/HronTurekFsi3/laminar shows unresolved interface. See figure => Attachment 71859.
However, the same case runs fine in fsiFoam solver. What is the cause of such issues?




I also facing such issues in fsiFoam as well for a different geometry (see figure Attachment 71860).

Please help on how to rectify that?

bigphil August 21, 2019 11:39

Hi Guarav,

Are you using solids4foam with foam-extend-4.0 or foam-extend-4.1?

Philip

thegauravonline August 21, 2019 12:53

I am running on foam-extend-4.0 for both solids4foam and fsiFoam.

bigphil August 22, 2019 06:29

Did you use the "Warp By Vector" filter in ParaView on the solid sub-domain to show its deformed position? It should be used with the total displacement vector field (D or pointD) and a Scale Factor of 1.

This is needed for any total Lagrangian style solid models which do not move the mesh. The "unsNonLinearGeometryTotalLagrangian" solid model is used by default in the HronTurekFSI3/laminar case.

Philip

bigphil August 29, 2019 09:40

Hi again Guarav,

Just to confirm, I have checked this case on the latest master branch of solids4foam and it works as expected.

If you still have issues, please give more details.

Philip

thegauravonline September 8, 2019 03:35

Hello Phillip,

Sorry for late response,
Yes using "Warp by vector" works well and good.
There are no issues for now.

Thank You.

AMalaguera October 3, 2019 18:40

Quote:

Originally Posted by thegauravonline (Post 744138)
Hello Phillip,

Sorry for late response,
Yes using "Warp by vector" works well and good.
There are no issues for now.

Thank You.

Hello

I have problems with the tutorial: HronTurekFsi3. The following appears in the compilation..

"/home/angel/OpenFOAM/angel-6/FluidSolidInteraction/src/fluidSolidInteraction/lnInclude/constitutiveModel.H:52:10: fatal error: IOReferencer.H: Arquivo ou diretório inexistente
#include "IOReferencer.H"
^~~~~~~~~~~~~~~~
compilation terminated.
/opt/openfoam6/wmake/rules/General/transform:25: recipe for target 'Make/linux64GccDPInt32Opt/hronTurekReport.o' failed
make: *** [Make/linux64GccDPInt32Opt/hronTurekReport.o] Error 1
Running fsiFoam on /home/angel/OpenFOAM/angel-6/FluidSolidInteraction/run/fsiFoam/HronTurekFsi3/fluid"

Could someone guide me:

Thank you

Angel

thegauravonline October 4, 2019 00:28

Has the package compiled successfully?

bigphil October 4, 2019 06:42

Quote:

Originally Posted by thegauravonline (Post 746182)
Has the package compiled successfully?

I suggest you try solids4foam instead, as the extend bazaar FSI toolbox i sno longer maintained.

Kind regards,
Philip

AMalaguera October 4, 2019 10:07

Quote:

Originally Posted by thegauravonline (Post 746182)
Has the package compiled successfully?

No. No....Apply the procedure explained on the following page:

http://openfoamwiki.net/index.php/Ex...tutorial_cases


Try to execute the 3dTube case with the steps explained on the previous page. When I open for View the following error appears:

"angel@angel-virtual-machine:~/OpenFOAM/angel-6/FluidSolidInteraction/run/fsiFoam/3dTube/fluid$ paraFoam
Created temporary 'fluid.OpenFOAM'
I/O : uncollated


--> FOAM FATAL IO ERROR:
Essential entry 'value' missing

file: /home/angel/OpenFOAM/angel-6/FluidSolidInteraction/run/fsiFoam/3dTube/fluid/0/p.boundaryField.inlet from line 38 to line 40.

From function Foam::fvPatchField<Type>::fvPatchField(const Foam::fvPatch&, const Foam::DimensionedField<Type, Foam::volMesh>&, const Foam::dictionary&, bool) [with Type = double]
in file /home/ubuntu/OpenFOAM/OpenFOAM-6/src/finiteVolume/lnInclude/fvPatchField.C at line 131.

FOAM exiting

Segmentation fault (core dumped)"

I installed foam-extend-4.0 in OpenFoam 6.0

I need help:(

Thank you

amuzeshi October 11, 2019 03:17

Quote:

Originally Posted by AMalaguera (Post 746220)
....
I installed foam-extend-4.0 in OpenFoam 6.0

Hi:),
What:eek:?!
foam-extend-4.0 is a separate distribution of openfoam, not just an extension for the current version that you have(namely v6).
Did you activate foam-extend-4.0 "alias" in your terminal before compilation of fsi toolkit? Note that this toolkit can not be compiled under openfoam 6. Finally, you can use solids4Foam rather than fsi toolkit (read this).

Best,
Ali

sita January 22, 2020 07:04

Hi all,

Recently, I installed solids4foam under foam-extend-4.1 (running Ubuntu 18.04). I only got to testing things today, and with the HronTurekFsi3/laminar tutorial, I get warnings/errors from blockMesh, setsToZones, etc:

Code:

Interaction/HronTurekFsi3/laminar
cat: system/fvSchemes: No such file or directory
cat: system/fvSolution: No such file or directory

Which makes sense, because the directory structure is different, with fluid and solid sub-directories in system. Apart from this, the solver seems to be running fine up to now. Should I be worried about these warnings/errors, and is there a way to get rid of them?

Many thanks,
Sita


P.S. I'm also getting warnings in the solver logfile:
Code:


--> FOAM Warning :
    From function void Foam::fluidSolidInterface::updateMovingWallPressureAcceleration()
    in file fluidSolidInterfaces/fluidSolidInterface/fluidSolidInterface.C at line 1136
    WIP: to be implemented

What's this about? And again, should I be worried?

Daniel_Khazaei January 22, 2020 07:41

Quote:

Originally Posted by sita (Post 755303)
Hi all,

Recently, I installed solids4foam under foam-extend-4.1 (running Ubuntu 18.04). I only got to testing things today, and with the HronTurekFsi3/laminar tutorial, I get warnings/errors from blockMesh, setsToZones, etc:

Code:

Interaction/HronTurekFsi3/laminar
cat: system/fvSchemes: No such file or directory
cat: system/fvSolution: No such file or directory

Which makes sense, because the directory structure is different, with fluid and solid sub-directories in system. Apart from this, the solver seems to be running fine up to now. Should I be worried about these warnings/errors, and is there a way to get rid of them?

As you have already stated, those errors/warnings are completely harmless.
This is because foam-extend-4.1 now outputs fvSchemes and fvSolution dictionaries at the beginning of each simulation and due the different structure of fsi cases it fails to find those files in system directory. One workaround would be to simply copy fvSchemes and fvSolution to the system directory.

Quote:

Originally Posted by sita (Post 755303)
P.S. I'm also getting warnings in the solver logfile:
Code:

--> FOAM Warning :
    From function void Foam::fluidSolidInterface::updateMovingWallPressureAcceleration()
    in file fluidSolidInterfaces/fluidSolidInterface/fluidSolidInterface.C at line 1136
    WIP: to be implemented

What's this about? And again, should I be worried?

No need to worry about this either as updateMovingWallPressureAcceleration() function is disabled on purpose.

sita January 22, 2020 08:50

Ah, that's good to know, thanks a million!

AMalaguera January 22, 2020 10:17

Quote:

Originally Posted by sita (Post 755303)
Hi all,

Recently, I installed solids4foam under foam-extend-4.1 (running Ubuntu 18.04). I only got to testing things today, and with the HronTurekFsi3/laminar tutorial, I get warnings/errors from blockMesh, setsToZones, etc:

Code:

Interaction/HronTurekFsi3/laminar
cat: system/fvSchemes: No such file or directory
cat: system/fvSolution: No such file or directory

Which makes sense, because the directory structure is different, with fluid and solid sub-directories in system. Apart from this, the solver seems to be running fine up to now. Should I be worried about these warnings/errors, and is there a way to get rid of them?

Many thanks,
Sita


P.S. I'm also getting warnings in the solver logfile:
Code:


--> FOAM Warning :
    From function void Foam::fluidSolidInterface::updateMovingWallPressureAcceleration()
    in file fluidSolidInterfaces/fluidSolidInterface/fluidSolidInterface.C at line 1136
    WIP: to be implemented

What's this about? And again, should I be worried?


Hello, Sita

I installed OpenFoam-16-ext on Ubuntu 14.04. It works excellently;). Then I installed or solver miniGeotechFoam that was developed by Tian Tang in 2013 for this extended version of OpenFoam. . I performed some simulations of porous media to verify Tersagui and Mandel. Now I am checking cases of soils with elasto-plastic behavior with this solver. In the future I will place some of my results in this forum ..

Thank you..

Atte .. Angel

sita January 23, 2020 04:57

Hi everyone,

When executing the Allrun script in the HronTurekFSI3 tutorial, it crashes at Time = 3.151, on a floating point exception (Courant number max. 222.16). I'm using solids4foam under foam-extend-4.1.

Also, when viewing the results in ParaView, it gives me errors about a duplicate entry D.

Did anyone else experience the same? Am I doing something wrong?

Many thanks,
Sita

Daniel_Khazaei January 27, 2020 18:29

Quote:

Originally Posted by sita (Post 755418)
Hi everyone,
When executing the Allrun script in the HronTurekFSI3 tutorial, it crashes at Time = 3.151, on a floating point exception (Courant number max. 222.16). I'm using solids4foam under foam-extend-4.1.

Unfortunately, I think there seems to be a problem with the new algorithm implemented in foam-extend-4.1 or maybe the test case needs some modifications to be compatible. The HronTurekFSI3 test case runs fine on foam-extend-4.0, but again pimpleFluid fails after 3 seconds(simulation time).

Quote:

Originally Posted by sita (Post 755418)
Also, when viewing the results in ParaView, it gives me errors about a duplicate entry D.

I'm not receiving this error, how do you open the case?

sita January 28, 2020 02:26

Hi Daniel,

Thanks for getting back. Good to know that you're getting the same error with the HronTurekFSI3 tutorial.

The errors in ParaView may be due to an installation problem on my side; somehow I couldn't get ParaView installed correctly during the foam-extend-4.1 install, so I installed it separately and told foam-extend to use my system's ParaView, which in turn is giving trouble with the PVFoamReader, causing ParaView to use a VTK reader to open my foam-extend results (see also this thread). But anyway, good to know that you're not getting these errors, that means that I should look further into my paraFoam install.

Cheers,
Sita

Daniel_Khazaei January 29, 2020 19:01

Quote:

Originally Posted by sita (Post 755803)
Hi Daniel,
Thanks for getting back. Good to know that you're getting the same error with the HronTurekFSI3 tutorial.

The errors in ParaView may be due to an installation problem on my side; somehow I couldn't get ParaView installed correctly during the foam-extend-4.1 install, so I installed it separately and told foam-extend to use my system's ParaView, which in turn is giving trouble with the PVFoamReader, causing ParaView to use a VTK reader to open my foam-extend results (see also this thread). But anyway, good to know that you're not getting these errors, that means that I should look further into my paraFoam install.

Cheers,
Sita

update on HronTurekFSI3 divergence:

I have tried several cases with pisoFoam and pimpleFoam on foam-extend-4.1, and interestingly they all do diverge immediately. Even, foam-extend-4.1 pisoFoam tutorial pitzDaily diverges instantly.

I have also created a fluid only case based on HronTurekFSI3 test case and here are the results:
  • foam-extend-4.1
1- pisoFoam: diverged
2- pimpleFoam: diverged, increasing nOuterCorrectors will prevent divergence but solution is wrong.
  • foam-extend-4.0
1- pisoFoam: successful
2- pimpleFoam: does not diverge, but the vortex shedding is totally dampened out and it is identical to a stead-state solution.

So, this seems to be a bug with foam-extend itself.
Also found this thread describing the exact same problem.

Regards,
D. Khazaei

thegauravonline March 6, 2020 02:02

solids4foam query for setSet and parallelization.
 
Quote:

Originally Posted by bigphil (Post 746200)
I suggest you try solids4foam instead, as the extend bazaar FSI toolbox i sno longer maintained.

Kind regards,
Philip

Hi phil,

I noticed two following issues:

1.
In the latest dev/master branch for the FSI cases(say HronTurekFsi3), I see that "setSet -batch ..." has been avoided, but follows the command "setstoZones -noFlipMap" which logs to
Code:

Searched : "constant/polyMesh/sets"
Found    : 0()

I could not understand this if it is intentional?

2.
On running parallel, the makelinks file and command is missing. This causes the "solids" files to not generate along with fluid in different processor directory.
> On reconstructing only fluid part gets reconstructed, which causes non-compliant interface in paraview (not even by warp by vector) because the solid fields doesn't load.

Thank you in advance.


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