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

Developing a new solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 27, 2019, 19:35
Default Developing a new solver
  #1
New Member
 
Sahar Bakhshian
Join Date: Aug 2019
Posts: 1
Rep Power: 0
Sara2019 is on a distinguished road
Hello,



I am trying to compile a new solver in OpenFOAM 5x. The solver has been originally developed in OpenFOAM 4. When I compile the solver in OpenFOAM 5x, I keep getting the following error:


"CorrectPhi.H:2:1: error: expected constructor, destructor, or type conversion before '(' token
(
^
In file included from CorrectPhi.H:11:0,
from interPhaseDiffusionFoam.C:50:
continuityErrs.H:26:1: error: expected unqualified-id before '{' token
{
^
"


Any comments on this would be appreciated.


Thank you,
Sara2019 is offline   Reply With Quote

Reply


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
Radiation Modeling Using Discrete Ordinates Method and Parallel Solver malicemethods FLUENT 3 May 25, 2018 15:25
Star cd es-ice solver error ernarasimman STAR-CD 2 September 12, 2014 01:01
thobois class engineTopoChangerMesh error Peter_600 OpenFOAM 4 August 2, 2014 10:52
problem with developing new LES solver Edison_Ge OpenFOAM 2 June 18, 2009 02:26
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 15:08


All times are GMT -4. The time now is 05:45.