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

Trouble with simple case for a new OpenFOAM user

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 16, 2020, 10:38
Default Trouble with simple case for a new OpenFOAM user
  #1
Member
 
Jonathan Wells
Join Date: Oct 2020
Location: Indiana
Posts: 44
Rep Power: 6
jdw135 is on a distinguished road
Hello all,

I am a long time lurker on these forums, and I've joined now hoping to get some help with OpenFOAM. I've recently started trying to learn the software in order to repeat some work for graduate school, and I am lost setting up the problem.

I have a free shear layer, with high- and low-speed inlets on the left side, an outlet on the right side, the low-speed freestream at the bottom boundary, and the high-speed freestream at the top boundary. All I want is to run LES and DES simulations of this problem. I've done so in Fluent and Cobalt, but OpenFOAM has me baffled.

At each inlet, I'm trying to define a velocity and static temperature profile with approximately a 5mm boundary layer. From what I have found in sources online, I've written .csv files for these profiles, and I've used a fixedProfile BC. However, when following online tutorials, I get many errors, and a lot of examples online don't work.

Is there someone willing to take a look at my case and help me to understand the simple things I must be missing in order to get this case going? I would greatly appreciate any help. Attached are my 0/U and 0/T files (uploaded as txt files)
Attached Files
File Type: txt T.txt (1.9 KB, 4 views)
File Type: txt U.txt (1.9 KB, 6 views)
jdw135 is offline   Reply With Quote

Old   October 18, 2020, 21:04
Default
  #2
Member
 
Hasan Celik
Join Date: Sep 2016
Posts: 64
Rep Power: 10
PositronCascade is on a distinguished road
Hello,

What you are doing seems correct but I may suggest to you to check the U and T via ParaView by de-activating "Skip zero folder". So, you may see your mistake (if any). Otherwise, write the error that you get, so it might be easier to spot the problem for us, I guess.
PositronCascade is offline   Reply With Quote

Old   October 18, 2020, 21:26
Default
  #3
Member
 
Jonathan Wells
Join Date: Oct 2020
Location: Indiana
Posts: 44
Rep Power: 6
jdw135 is on a distinguished road
Thank you for the reply.

I have tried to view the BC's in paraFoam, and I've found the "skip zero folder" option, but even when I uncheck that box and click apply, no options to view T or U are present in the drop down box at the top. I'm not sure why it isn't showing up, apart from a syntax error that I'm not spotting.

When I try to run the case using rhoPimpleFoam, I get the following output:

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

Create mesh for time = 0


PIMPLE: no residual control data found. Calculations will employ 3 corrector loops

Reading thermophysical properties

Selecting thermodynamics package
{
type hePsiThermo;
mixture pureMixture;
transport sutherland;
thermo eConst;
equationOfState perfectGas;
specie specie;
energy absoluteEnthalpy;
}

#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::sigSegv::sigHandler(int) at ??:?
#2 ? in "/lib64/libpthread.so.0"
#3 std::string::assign(std::string const&) in "/lib64/libstdc++.so.6"
#4 Foam::basicThermo::splitThermoName(Foam::word const&, int) at ??:?
#5 Foam::HashTable<Foam::autoPtr<Foam::fluidThermo> (*)(Foam::fvMesh const&, Foam::word const&), Foam::word, Foam::string::hash>::iterator Foam::basicThermo::lookupThermo<Foam::fluidThermo, Foam::HashTable<Foam::autoPtr<Foam::fluidThermo> (*)(Foam::fvMesh const&, Foam::word const&), Foam::word, Foam::string::hash> >(Foam::dictionary const&, Foam::HashTable<Foam::autoPtr<Foam::fluidThermo> (*)(Foam::fvMesh const&, Foam::word const&), Foam::word, Foam::string::hash>*, int, char const**, Foam::word const&) at ??:?
#6 Foam::HashTable<Foam::autoPtr<Foam::fluidThermo> (*)(Foam::fvMesh const&, Foam::word const&), Foam::word, Foam::string::hash>::iterator Foam::basicThermo::lookupThermo<Foam::fluidThermo, Foam::HashTable<Foam::autoPtr<Foam::fluidThermo> (*)(Foam::fvMesh const&, Foam::word const&), Foam::word, Foam::string::hash> >(Foam::dictionary const&, Foam::HashTable<Foam::autoPtr<Foam::fluidThermo> (*)(Foam::fvMesh const&, Foam::word const&), Foam::word, Foam::string::hash>*) at ??:?
#7 Foam::fluidThermo::New(Foam::fvMesh const&, Foam::word const&) at ??:?
#8 ? at ??:?
#9 __libc_start_main in "/lib64/libc.so.6"
#10 ? at ??:?
Segmentation fault
jdw135 is offline   Reply With Quote

Reply

Tags
beginners, des turbulence model, les model


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
Sandia Flame D OpenFoam tutorial case - bad result? Brandani OpenFOAM Programming & Development 8 January 18, 2022 14:29
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 10 September 2, 2021 06:29
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 cfd.direct OpenFOAM Announcements from Other Sources 0 September 14, 2016 04:19
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 January 5, 2016 04:18
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 13:24


All times are GMT -4. The time now is 08:12.