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

problem with running 3dTube tutorial of foam-extend 4.0

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 4 Post By vvukcevic

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 5, 2018, 20:10
Default problem with running 3dTube tutorial of foam-extend 4.0
  #1
New Member
 
Join Date: Dec 2016
Posts: 5
Rep Power: 10
Osman is on a distinguished road
Hi,

I am trying to do the 3d tube FSI simulation in foam-extend version 4.0. But, the following problem is arising

Quote:
--> FOAM FATAL ERROR:
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)
Can someone say, why this is happening? In the fvSchemes of the tutorial, the following is written:
Quote:
fluxRequired
{
default no;
p;
}
Thanks!!
Osman is offline   Reply With Quote

Old   July 9, 2018, 03:11
Default
  #2
New Member
 
Vuko Vukcevic
Join Date: Dec 2017
Posts: 2
Rep Power: 0
vvukcevic is on a distinguished road
Hi Osman,


The probable cause for this is that the fluxRequired subdictionary in fvSchemes is deprecated and the setting of fluxRequired flag for each field now happens in the top level solver. I assume that the code is not updated for this particular top level solver.


If you don't want to wait for the fix, you can do it yourself by going into createFields.H of the solver, adding this line (usually after setRefCell) and recompiling:


Code:
mesh.schemesDict().setFluxRequired(p.name());

Also, could you please let me know the exact name of the tutorial so I can fix it?


Hope it helps,


Vuko.
vvukcevic is offline   Reply With Quote

Old   July 12, 2018, 17:55
Default
  #3
New Member
 
Join Date: Dec 2016
Posts: 5
Rep Power: 10
Osman is on a distinguished road
Hi Vuko,

Thanks for your reply. I am new to openfoam environment. Can you please tell me where "createFields.H" is located? I am talking about fsiFoam and 3dtube tutorial under this solver.

Thanks,

Osman
Osman is offline   Reply With Quote

Old   July 13, 2018, 07:35
Default
  #4
New Member
 
Vuko Vukcevic
Join Date: Dec 2017
Posts: 2
Rep Power: 0
vvukcevic is on a distinguished road
Hi again,


Unfortunately I can't seem to find fsiFoam solver in foam-extend-4.0.. Are you sure that the name of the solver is just fsiFoam?


If you can find a path of the top level solver, you can find the createFields.H there which needs to be changed.


Yours,


Vuko.
vvukcevic is offline   Reply With Quote

Old   July 13, 2018, 07:49
Default
  #5
Member
 
Sangeet
Join Date: Jun 2017
Location: India
Posts: 43
Rep Power: 9
sangeet is on a distinguished road
Hey,

I faced the same problem at the beginning, go this post and read #18

https://www.cfd-online.com/Forums/sh...d.php?p=672445
sangeet is offline   Reply With Quote

Reply

Tags
foam-extend-4.0, tutorial


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
foam-extend 4.0. Problem with wingMotion tutorial and sixDoFRigidBodyDisplacement Bazinga OpenFOAM 1 December 14, 2024 21:34
[foam-extend.org] A problem about installation of open foam extend 3.1 Toalchemist OpenFOAM Installation 1 May 31, 2018 09:58
Problem with running tutorial "Constrained Optimal Shape Design of a Fixed Wing" yugang881 SU2 12 February 3, 2017 08:15
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 11:56
problem in running FoamX in Open FOAM Gaurav Main CFD Forum 3 May 10, 2006 06:06


All times are GMT -4. The time now is 14:15.