|
[Sponsors] |
June 22, 2018, 06:52 |
|
#21 | |
New Member
Join Date: Oct 2014
Location: Lafayette, LA
Posts: 18
Rep Power: 12 |
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%; } |
||
January 16, 2019, 04:53 |
|
#22 |
Member
...
Join Date: Jan 2019
Posts: 31
Rep Power: 7 |
||
March 27, 2019, 07:05 |
|
#23 |
New Member
xena
Join Date: Mar 2019
Posts: 13
Rep Power: 7 |
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 ?? |
|
March 27, 2019, 10:39 |
|
#24 |
New Member
Sam
Join Date: Nov 2017
Posts: 24
Rep Power: 9 |
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 |
|
January 25, 2020, 11:11 |
|
#25 |
Member
Eren
Join Date: Aug 2018
Posts: 86
Rep Power: 9 |
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. |
|
January 26, 2020, 11:38 |
|
#26 |
Member
Eren
Join Date: Aug 2018
Posts: 86
Rep Power: 9 |
It took like 4 days, finally works...
Last edited by ErenC; January 26, 2020 at 17:41. |
|
|
|
Similar Threads | ||||
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 |