CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Find error-flow in square

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 27, 2013, 00:40
Default Find error-flow in square
  #1
New Member
 
Nguyen
Join Date: Dec 2010
Posts: 21
Rep Power: 15
tringuyenttt is on a distinguished road
Dear all;
This is a Fortran code for flow through 2d Square. When i compile, it has a error as following.

if(s.gt.eps)then
1
Error: IF clause at (1) requires a scalar LOGICAL expression

any body help me, correct it.
Thanks all
Attached Files
File Type: txt square.txt (7.4 KB, 8 views)
tringuyenttt is offline   Reply With Quote

Old   May 29, 2013, 08:22
Default
  #2
Senior Member
 
Rami Ben-Zvi
Join Date: Mar 2009
Posts: 155
Rep Power: 17
Rami is on a distinguished road
Hi tringuyenttt,

Please check if all your if's are correctly ended by endif's' ; if all your do's are ended by enddo's and if nesting is correct. I think you have some coding mistakes of this kind.
Rami is offline   Reply With Quote

Old   May 29, 2013, 08:27
Default
  #3
New Member
 
Nguyen
Join Date: Dec 2010
Posts: 21
Rep Power: 15
tringuyenttt is on a distinguished road
Hi Rami,
Thanks so much. I already check it.
tringuyenttt 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
OpenFoam171: error /usr/bin/ld: cannot find -llduSolvers Schipper OpenFOAM Programming & Development 9 August 26, 2020 05:31
Looking for SUBOFF model but i can't find it. Heewon Lee Main CFD Forum 7 March 5, 2017 13:36
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 Attesz OpenFOAM Installation 45 January 13, 2012 12:38
Problem Building OF on Centos cluster (no admin rights) CKH OpenFOAM Installation 5 November 13, 2011 06:32
YPlus nowhere to be find Daniel CFX 3 May 1, 2006 16:22


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