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

Problems with finding normalized mean wind speed

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   December 26, 2009, 12:22
Default Problems with finding normalized mean wind speed
  #1
New Member
 
Alice
Join Date: Nov 2009
Posts: 16
Rep Power: 16
Alicelin is on a distinguished road
Dear all,

I just got some problems when writing codes for an application to generate the normalized mean wind speed...the following are the codes:

#include "fvCFD.H"
#include "incompressible/singlePhaseTransportModel/singlePhaseTransportModel.H"
#include "incompressible/RASModel/RASModel.H"

int main(int argc, char *argv[])

{

# include "setRootCase.H"
# include "createTime.H"
# include "createMesh.H"
# include "createFields.H"
for (runTime++; !runTime.end(); runTime++)
{
volScalarField Unorm=(1/9.9)*mag(U);
Unorm.write();
runTime.write();

Info<< "ExecutionTime = " << runTime.elapsedCpuTime() << " s"
<< " ClockTime = " << runTime.elapsedClockTime() << " s"
<< nl << endl;

Info<< "End\n" << endl;

}

return(0);
}

.................................................. .................................................. ........................

The above are the codes.....when I tried to execute this application, I got the following error:
"Reading field U

Cannot open file"

I wonder if there's anything wrong with my codes??
Thanks!!

Alice
Alicelin is offline   Reply With Quote

 


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
How to find RPM from wind speed in Floworks? Matco FloEFD, FloWorks & FloTHERM 21 March 22, 2010 15:18
Wind Tunnel Testing Francesco Nicolosi Main CFD Forum 0 November 25, 2008 12:55
problems in high speed external flow jon william FLUENT 2 January 14, 2007 06:37
High speed flow problems Sawa FLUENT 3 January 14, 2003 01:10
Atmospheric Wind Profile - Inlet Subroutine Roger Siemens 3 December 12, 2002 10:00


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