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

Weird aerodynamic forces on 3D body.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 12, 2020, 07:43
Default Weird aerodynamic forces on 3D body.
  #1
New Member
 
Aurora
Join Date: May 2020
Posts: 1
Rep Power: 0
Ducagirl is on a distinguished road
Hello everyone!

I am quite newbie with OpenFoam and I am doing an aerodynamic laminar simulation around a .STL file. The results for p and U seem pretty good, but now I have tried to calculate forces and coefficients and the look quite inconsistent.

The objetc is a mount situated in the top of a yatch (only air influence), and I have recreated some damages into the surface in order to compare the different levels of injuries.

I attatch the screenshot of my results after 500 iterations, and also the controlDict script and functions it uses:



Quote:
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

application simpleFoam;

startFrom startTime;

startTime 0;

stopAt endTime;

endTime 500;

deltaT 1;

writeControl timeStep;

writeInterval 50;

purgeWrite 0;

writeFormat ascii;

writePrecision 6;

writeCompression off;

timeFormat general;

timePrecision 6;

runTimeModifiable true;

functions
{
#include "forceCoeffs"
#include "forces"
#includeFunc residuals
}


// ************************************************** *********************** //

Quote:
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*---------------------------------------------------------------------------*/

forces
{
type forces;

libs ("libforces.so");

writeControl timeStep;
timeInterval 1;

log yes;

patches (soporte);
rho rhoInf; // Indicates incompressible
log true;
rhoInf 1; // Redundant for incompressible

CofR (0 0 0); // Rotation around centre line of propeller
pitchAxis (0 0 1);
}


// ************************************************** *********************** //

Quote:
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*---------------------------------------------------------------------------*/

forceCoeffs
{
type forceCoeffs;

libs ("libforces.so");

writeControl timeStep;
timeInterval 1;

log yes;

patches (soporte);
rho rhoInf; // Indicates incompressible
rhoInf 1; // Redundant for incompressible
liftDir (0 1 0);
dragDir (1 0 0);
CofR (0 0 0); // Axle midpoint on ground
pitchAxis (0 0 1);
magUInf 13;
lRef 0.6; // Wheelbase length
Aref 0.617; // Estimated
/*
binData
{
nBin 20; // output data into 20 bins
direction (1 0 0); // bin direction
cumulative yes;
}
*/
}


// ************************************************** *********************** //

Thank you for your help!

Aurora.
Attached Images
File Type: jpg Captura de pantalla 2020-06-12 a las 13.25.31.jpg (152.4 KB, 3 views)
Ducagirl 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
Enabling body forces (gravity) asonda SU2 1 February 21, 2018 10:42
Ahmed body: questions about reference area and forces sandyy235 OpenFOAM 4 October 30, 2016 08:50
UDF for Body Forces in DPM Shalabh Fluent UDF and Scheme Programming 0 June 23, 2016 16:39
body forces, moving mesh researcher Main CFD Forum 0 March 26, 2016 01:15
Aerodynamic Forces on Periodic Walls in Fluent Hybrid FLUENT 0 October 13, 2015 21:48


All times are GMT -4. The time now is 16:28.