|
[Sponsors] |
![]() |
![]() |
#21 | |
New Member
Join Date: Oct 2014
Location: Lafayette, LA
Posts: 13
Rep Power: 8 ![]() |
Quote:
The above will work, but if you have dependencies built upon fsifoam, for example some of the Chalmers OpenFoam stuff, this will not work. Specifically I tried it for "An opensource solver for wave-induced FSI problems" by Huang and had troubles. A more clean way is to follow the pictures I've attached. p { margin-bottom: 0.25cm; line-height: 120%; } |
||
![]() |
![]() |
![]() |
![]() |
#22 |
Member
...
Join Date: Jan 2019
Posts: 31
Rep Power: 4 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#23 |
New Member
xena
Join Date: Mar 2019
Posts: 13
Rep Power: 3 ![]() |
Hello,
I have added the line on the scripts but the tutos on fsiFoam don't work, (error : flux requested but p not specified in the fluxRequired sub-dictionary of fvSchemes ) does any one have another trick or solution ?? |
|
![]() |
![]() |
![]() |
![]() |
#24 |
New Member
Sam
Join Date: Nov 2017
Posts: 24
Rep Power: 5 ![]() |
Hi Xena,
include the following line of code to the source code of your fluid solver. Typically in the evolve section, after the fvMesh definition. Hope that helps. Code:
mesh.schemesDict().setFluxRequired(p().name()) Sam |
|
![]() |
![]() |
![]() |
![]() |
#25 |
Member
Eren
Join Date: Aug 2018
Posts: 61
Rep Power: 5 ![]() |
Hello, I am having same issue.
Code:
flux requested but p not specified in the fluxRequired sub-dictionary of fvSchemes. From function fvMatrix<Type>::flux() in file lnInclude/fvMatrix.C at line 1046. FOAM aborting Aborted (core dumped) Code:
mesh.schemesDict().setFluxRequired(p.name()); Code:
// Prepare for the pressure solution label pRefCell = 0; scalar pRefValue = 0.0; setRefCell(p_, fluidProperties(), pRefCell, pRefValue); mesh.schemesDict().setFluxRequired(p.name()); Code:
fluidSolvers/pisoFluid/pisoFluid.C:271:40: error: ‘((Foam::fluidSolvers::pisoFluid*)this)->Foam::fluidSolvers::pisoFluid::p’ does not have class type Can someone point me to the right direction? I also would like to add, I changed fvMatrix.c regarding to the post in this thread. But I don't know where to type "wmake libso" so I used "./Allwmake" in foam-extend-4.0/src. Is it wrong? Eren. Last edited by ErenC; January 25, 2020 at 14:19. |
|
![]() |
![]() |
![]() |
![]() |
#26 |
Member
Eren
Join Date: Aug 2018
Posts: 61
Rep Power: 5 ![]() |
It took like 4 days, finally works...
Last edited by ErenC; January 26, 2020 at 17:41. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[waves2Foam] Compiled with foam-extend-4.0, but I cannot run tutorials in parallel | lxwd | OpenFOAM Community Contributions | 7 | February 22, 2017 03:13 |
OpenFOAM can't be run in parallel in cluster | sibo | OpenFOAM Running, Solving & CFD | 4 | February 21, 2017 17:29 |
parallel run is slower than serial run (pimpleFoam) !!! | mechy | OpenFOAM | 18 | August 17, 2016 18:19 |
simpleFoam parallel | AndrewMortimer | OpenFOAM Running, Solving & CFD | 12 | August 7, 2015 19:45 |
[mesh manipulation] Cannot get refineMesh to run in parallel | smschnob | OpenFOAM Meshing & Mesh Conversion | 2 | June 3, 2014 12:20 |