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

New densitybased solver AeroFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree11Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 21, 2011, 07:17
Unhappy Stuck!!
  #41
New Member
 
Rachit Prasad
Join Date: Jun 2011
Location: Blacksburg, Virginia
Posts: 29
Rep Power: 15
Rachit is on a distinguished road
Hi everyone!

I am a new of OpenFOAM and hence AeroFoam as well. In order to get familiar with it, I went to the following website and downloaded the Oblique Shock Test problem:

http://www.aero.polimi.it/freecase/?...:Oblique_shock

After uncompressing the folder, I tried to run it, but the following came on the terminal:

This is a start/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.6-53b7f692aa41
Exec : AeroFoam
Date : Jun 21 2011
Time : 16:02:27
Host : rachit-desktop
PID : 5378
Case : /home/rachit/OpenFOAM/OpenFOAM-1.6/foam_run/compressible/ObliqueShock_B/ObliqueShock_B
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

// using new solver syntax:
cellDisplacement
{
solver PCG;
preconditioner DIC;
tolerance 1e-08;
relTol 0;
}

========================================
Reading Thermodynamic Properties...
========================================
gamma [-] = 1.4
Pr [-] = 0.72
R [J/KgK] = 287.05
Cp [J/KgK] = 717.625
Cv [J/KgK] = 1004.67
----------------------------------------

========================================
Reading Initial Conditions...
========================================
Reading field p
Reading field T
Reading field U
----------------------------------------
Creating conservative variables at t^(k)
Creating conservative variables at t^(k-1)
Creating conservative variables at t^(k-2)
Creating conservative variables fluxes at t^(k)
Creating primitive variables gradient fields (optional)
----------------------------------------

========================================
Creating Mesh Connectivity...
========================================
Using adaptive algorithm...
id_LL_i6500SIZE3100Loop on Internal Faces...


Nothing happens beyond this, as in the process is still continuing but no progress is being made.

Could anyone please tell me what mistake I am making?

Thanks in advance!

Rachit
Rachit is offline   Reply With Quote

Old   July 19, 2011, 11:20
Default AeroFoam problems
  #42
New Member
 
Vadim Vorobyov
Join Date: Jul 2011
Location: Moscow
Posts: 1
Rep Power: 0
Vorobus is on a distinguished road
Send a message via Skype™ to Vorobus
Hi,
I've tried to use AeroFoam 1.7.1 solver for the OpenFoam 1.7.1 tutorial case ObliqueShock, and I 've done all the correctoins which are given in the AEROFOAM QUICK START paper www.aero.polimi.it/freecase/?download=AeroFoam_QuickStart.pdf
but after entering AeroFoam I see the following message:
vadim.vorobyov@oslo:~/OF171/compressible/aeroFoam/forwardStep$ AeroFoam
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.7.x |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.7.x-3776603e4c6c
Exec : AeroFoam
Date : Jul 19 2011
Time : 18:00:56
Host : oslo
PID : 15382
Case : /home/vadim.vorobyov/OF171/compressible/aeroFoam/forwardStep
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

========================================
Reading Thermodynamic Properties...
========================================


--> FOAM FATAL IO ERROR:
keyword R is undefined in dictionary "/home/vadim.vorobyov/OF171/compressible/aeroFoam/forwardStep/constant/thermodynamicProperties"

file: /home/vadim.vorobyov/OF171/compressible/aeroFoam/forwardStep/constant/thermodynamicProperties from line 18 to line 43.

From function dictionary::lookupEntry(const word&, bool, bool) const
in file db/dictionary/dictionary.C at line 395.

FOAM exiting
------------------------------------

I've tried to put R universal gas constant into the corresponding file/ here is how my
"thermodynamicProperties" looks like

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.7.1 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

thermoType ePsiThermo<pureMixture<constTransport<specieThermo <hConstThermo<perfectGas>>>>>;

// Note: these are the properties for a "normalised" inviscid gas
// for which the speed of sound is 1 m/s at a temperature of 1K
// and gamma = 7/5
mixture
{
specie
{
gamma 1.4;
R 287;
nMoles 1;
molWeight 11640.3;
}
thermodynamics
{
R 287;
Cp 2.5;
Hf 0;

}
transport
{
mu 0;
Pr 1;
R 287;
}
}
////////////////
Does anyone has an idea why I have this error ?

Please, Help!
Thank you very much in advance!
Vorobus is offline   Reply With Quote

Old   September 27, 2011, 05:15
Default
  #43
Member
 
ThanhToan
Join Date: Sep 2010
Posts: 49
Rep Power: 16
trantoan2008 is on a distinguished road
Send a message via Yahoo to trantoan2008 Send a message via Skype™ to trantoan2008
Hi All,

I had the same problem like you when I tried to use AeroFoam solver to test that case. Is there anybody treat this problem?
trantoan2008 is offline   Reply With Quote

Old   December 5, 2011, 12:20
Default sourceForge AoeroFoam for OF1.7
  #44
Senior Member
 
aerothermal's Avatar
 
Guilherme da Silva
Join Date: Aug 2010
Location: Sao Paulo - Brazil
Posts: 120
Rep Power: 16
aerothermal is on a distinguished road
Send a message via Skype™ to aerothermal
See that someone developed a 1.7.1 version.
I have not tested yet.

https://sourceforge.net/projects/aerofoam/
aerothermal is offline   Reply With Quote

Old   December 5, 2011, 15:43
Default
  #45
Senior Member
 
aerothermal's Avatar
 
Guilherme da Silva
Join Date: Aug 2010
Location: Sao Paulo - Brazil
Posts: 120
Rep Power: 16
aerothermal is on a distinguished road
Send a message via Skype™ to aerothermal
I had same problem here when running the Onera M6 wing test case downloaded from AeroFoam site and using AeroFoam for OF1.7.1.

Quote:
Originally Posted by Emilie View Post
Hello everybody,

I'm trying to use the solver AeroFoam with the 1.7.1 version of OF; it's part of an important project for my study. I downloaded the Aerofoam files at :
https://sourceforge.net/projects/aerofoam/files/Source/
And now I want to test this solver with a tutorial case : the oblique shock.
However, (after 'BlockMesh'), when I launch AeroFoam, I have :


-------------------------------------------------------------

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

========================================
Reading Thermodynamic Properties...
========================================
gamma [-] = 1.4
Pr [-] = 0.72
R [J/KgK] = 287.05
Cp [J/KgK] = 717.625
Cv [J/KgK] = 1004.67
----------------------------------------

========================================
Reading Initial Conditions...
========================================
Reading field p
Reading field T
Reading field U
----------------------------------------
Creating conservative variables at t^(k)
Creating conservative variables at t^(k-1)
Creating conservative variables at t^(k-2)
Creating conservative variables fluxes at t^(k)
Creating primitive variables gradient fields (optional)
----------------------------------------

========================================
Creating Mesh Connectivity...
========================================
Using adaptive algorithm...
id_LL_i7290SIZE3510Loop on Internal Faces...
i=0i=1i=2i=3i=4i=5i=6i=7i=8i=9i=10i=11i=1

until i=3509
Loop on Boundary Faces...
----------------------------------------

========================================
Mesh
========================================
# of Faces = 3510
# of Cells = 1800
# of BndPatch = 5
0) inlet @ top
1) supersonicInlet @ inlet
2) extrapolatedOutlet @ outlet
3) symmetryPlane @ bottom
4) empty @ frontAndBack
----------------------------------------

========================================
Numerical Scheme
========================================
flowType = Euler
timeScheme = RK2
CourantMax = 0.1
CourantSteps = 25
MonotoneFlux = Roe
HighResFlux = LW
fluxLimiter = VL
entropyFix = HH2
extrapolateBC = 1
residualNorm = L1
minResidual = -1
----------------------------------------
Does everything look fine? [y] to continue [n] otherwise

-------------------------------------------------------------
I type yes and get :

-------------------------------------------------------------
blf fx i=1
...
blf fx i=3509
#0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam171/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::sigSegv::sigSegvHandler(int) in "/opt/openfoam171/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 in "/lib/libc.so.6"
#3
at Foam::GeometricField<Foam::Vector<double>, Foam::fvsPatchField, Foam::surfaceMesh>*, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh>*, Foam::word, Foam::word, Foam::word, Foam::word, double)
#4
in "/home/emilie/OpenFOAM/bruno-1.7.1/applications/bin/linux64GccDPOpt/AeroFoam"
#5 __libc_start_main in "/lib/libc.so.6"
#6
in "/home/emilie/OpenFOAM/bruno-1.7.1/applications/bin/linux64GccDPOpt/AeroFoam"
Segmentation fault

-------------------------------------------------------------

Does anyone has an idea why I have this error ?

Thank you very much for your help !

Emilie
aerothermal is offline   Reply With Quote

Old   October 8, 2013, 03:37
Default
  #46
Member
 
Arash Mahboubidoust
Join Date: Jun 2013
Location: Iran
Posts: 58
Rep Power: 13
arashfluid is on a distinguished road
Send a message via Yahoo to arashfluid
Hi
Does anyone have a benchmark for AeroFoam Solver in OpenFOAM-1.7.x or 1.6-ext or newer versions?
arashfluid is offline   Reply With Quote

Old   October 30, 2015, 14:34
Default AeroFoam Solver in OpenFoam
  #47
New Member
 
Avani
Join Date: Oct 2015
Posts: 1
Rep Power: 0
avani is on a distinguished road
Hello all,

I am a student and I am pretty new to CFD and specially, OpenFoam. I am trying to install the AeroFoam solver in an OpenFoam 2.3.0 version. Does anyone know if this will work since the page I got the AeroFoam file from only lists 1.4.1 as the version to be used.

Also, if it works, how should I go about installing this feature?

Thank you for all your help!
avani is offline   Reply With Quote

Old   October 31, 2015, 07:35
Default
  #48
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Avani and welcome to the forum!

The source code made available here has two versions:
  • AeroFoam-v1.tar.gz, which is made to work with OpenFOAM 1.4.1
  • AeroFoam-v2.tar.gz, which is made to work with... OK, in the file "myOpenFOAM.H" says this:
    Quote:
    Code:
    Cross-compatibility for OpenFOAM 1.5-dev, 1.6-ext, 1.7.1 and 2.0.0
With any luck, this works with OpenFOAM 2.3 and 2.4... But I would strongly suggest you first try using OpenFOAM 2.0.0 for testing if you can get any results with this in the first place.

As for installing it... see the description given inside the file "Make/files".

Best regards,
Bruno

PS: I've moved your post to the original thread dedicated to AeroFoam, for keeping everything on the same topic in the same thread.
__________________

Last edited by wyldckat; January 31, 2016 at 12:43. Reason: repaired link
wyldckat is offline   Reply With Quote

Old   January 15, 2016, 09:20
Default
  #49
New Member
 
tuananh
Join Date: Sep 2015
Posts: 4
Rep Power: 11
tuananhtran56 is on a distinguished road
Hi Giulio.
I have learnt about FSI using open-source software. I 'm very interested in your thesis. But my OpenFoam software 's version isn't 1.4.
Can you give me ubuntu deb pack openfoam 1.4 or AeroFoam for newest version of OpenFoam 3.0.1 to my email (tuananhtran.kthk56@gmail.com).
Thank you so much.
tuananhtran56 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
segregated solver vrs coupled solver sm FLUENT 0 November 6, 2007 02:24
Densitybased coupled compressible solver jojo OpenFOAM Running, Solving & CFD 0 July 19, 2006 13:43
How to do it if i change the seregated finitevolume solver to segregated finiteelement solver dandes OpenFOAM Pre-Processing 0 March 22, 2006 22:06
AGM-SOLVER MANOJ FLUENT 5 August 1, 2005 05:49
coupled solver / uncoupled solver Jaan Unger Main CFD Forum 0 September 3, 2002 09:30


All times are GMT -4. The time now is 13:56.