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

error compiling modified applications

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 22, 2016, 12:07
Default
  #21
Member
 
Peter
Join Date: Nov 2015
Location: Hamburg, Germany
Posts: 57
Rep Power: 10
potentialFoam is on a distinguished road
Still need help concerning that issue...

Further points I checked:
- in foam-folder:
Code:
grep -nr "fv::gaussConvectionScheme"
(other applications only use a laminar or upwind type, but nothing like QUICK or other higher order schemes)

- building the fvOptions-class in the directory $WM_PROJECT_USER_DIR (same error occurring)

Can someone help me with the error described in the last post?
potentialFoam is offline   Reply With Quote

Old   March 1, 2016, 04:53
Default Solved
  #22
Member
 
Peter
Join Date: Nov 2015
Location: Hamburg, Germany
Posts: 57
Rep Power: 10
potentialFoam is on a distinguished road
Finally, one solution is to refer to the system/fvSchemes file with
Code:
volVectorField QUICKConvection ( fvc::div(phi, U, "div(phi,U)") );
if
div(phi,U) Gauss QUICK;
is specified in fvSchemes.

A further possibility would be to define a new name for the convective part
"div(phi,U)" -> "newName"
and define it inside fvSchemes.
potentialFoam is offline   Reply With Quote

Reply

Tags
error compile declare


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
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
modified CrossPowerLaw wmake error andboje OpenFOAM Programming & Development 13 October 12, 2010 13:07
flux seems not conserved in my modified scalarTransportFoam danielr OpenFOAM Running, Solving & CFD 3 October 5, 2009 16:05
Lunar applications anders_feder OpenFOAM Running, Solving & CFD 1 February 21, 2009 17:26
Modified Equation for CFX algorithm Craig Johansen CFX 0 August 27, 2004 23:02


All times are GMT -4. The time now is 12:55.