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

Problem in forceCoeffs file

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 19, 2012, 06:34
Question Problem in forceCoeffs file
  #1
New Member
 
Srinivas Nag H.V.
Join Date: Oct 2012
Posts: 2
Rep Power: 0
srini_esi is on a distinguished road
Dear All,

This is Srini.

I have setup an external_aero case for simpleFoam solver by refering motorbike tutorial.

While solution progresses, Cd, Cl must be written to forceCoeffs file in \forces\0\forceCoeffs.dat file.

I feel there is problem in entering patches in forceCoeffs file in system folder.

I have entered like this :-

forces
{
type forceCoeffs;
functionObjectLibs ( "libforces.so" );
outputControl timeStep;
outputInterval 1;

patches ( car_TOP );
pName p;
UName U;
rhoName rhoInf; // Indicates incompressible
log true;
rhoInf 1; // Redundant for incompressible
liftDir (0 0 1);
dragDir (1 0 0);
CofR (0.72 0 0); // Axle midpoint on ground
pitchAxis (0 1 0);
magUInf 20;
lRef 1.44; // Wheelbase length
Aref 0.9; // Estimated
}
Error message is displayed like this

Calculating potential flow
--> FOAM Warning :
From function polyBoundaryMesh:atchSet(const wordReList&, const bool) cons
t
in file meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C at line 573
Cannot find any patch names matching car_TOP

output in console is like this:-

forceCoeffs output:
Cd = 0
Cl = 0
Cm = 0
Cl(f) = 0
Cl(r) = 0

I have defined boundary layers for some patches in stl file like this:-
layers
{
minZ
{
nSurfaceLayers 1;
}
car_TOP
{
nSurfaceLayers 5;
}
car_TRUNK
{
nSurfaceLayers 5;
}
car_HOOD
{
nSurfaceLayers 5;
}
car_CABIN_2
{
nSurfaceLayers 5;
}
car_SIDE_GLASS
{
nSurfaceLayers 5;
}
car_CABIN_1
{
nSurfaceLayers 5;
}

Kindly help me in resolving this problem.

Best Regards,
Srini
srini_esi is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 10:57
2.0.x on Mac OSX niklas OpenFOAM Installation 74 March 28, 2012 16:46
1.7.x Environment Variables on Linux 10.04 rasma OpenFOAM Installation 9 July 30, 2010 04:43
Compiling OpenFOAM13 on AMD64 with Redhat Enterprise mbeaudoin OpenFOAM Installation 20 June 17, 2008 06:43
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 06:51


All times are GMT -4. The time now is 15:46.