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

Find error-flow in square

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools 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: 8
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, 7 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: 148
Rep Power: 9
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: 8
tringuyenttt is on a distinguished road
Hi Rami,
Thanks so much. I already check it.
tringuyenttt is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for SUBOFF model but i can't find it. Heewon Lee Main CFD Forum 6 September 9, 2014 08:55
OpenFoam171: error /usr/bin/ld: cannot find -llduSolvers Schipper OpenFOAM Programming & Development 5 November 15, 2012 15:13
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 Attesz OpenFOAM Installation 45 January 13, 2012 13:38
Problem Building OF on Centos cluster (no admin rights) CKH OpenFOAM Installation 5 November 13, 2011 07:32
YPlus nowhere to be find Daniel CFX 3 May 1, 2006 16:22


All times are GMT -4. The time now is 00:10.