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

Inlet setting of k epsilon with velocity profile OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 13, 2022, 23:54
Default Inlet setting of k epsilon with velocity profile OpenFOAM
  #1
New Member
 
hsin
Join Date: Jul 2021
Posts: 3
Rep Power: 5
romney is on a distinguished road
Hi,

I use the RANS k-epsilon model to simulate the wind field.
The velocity of the inflow uses the velocity profile by csv file.
k epsilon depends on speed, I also set k epsilon profile by csv file as inflow,
but it's failed.

This is an error message and setting file:
setting&error message.zip

Thanks

romney
romney is offline   Reply With Quote

Old   July 16, 2022, 08:33
Default
  #2
Member
 
Al Csc
Join Date: Jul 2018
Posts: 31
Rep Power: 8
al.csc is on a distinguished road
Have you tried commenting out (//):
#includeEtc "caseDicts/setConstraintTypes"
? Since I saw you do not have it for U
Cheers
al.csc is offline   Reply With Quote

Old   July 16, 2022, 10:22
Default
  #3
New Member
 
hsin
Join Date: Jul 2021
Posts: 3
Rep Power: 5
romney is on a distinguished road
Quote:
Originally Posted by al.csc View Post
Have you tried commenting out (//):
#includeEtc "caseDicts/setConstraintTypes"
? Since I saw you do not have it for U
Cheers
Hi,
al.csc

Thanks for your response.
I already commented out it.
1.JPG
There should be no problem with U(i guess?)
because the error message appears when k is calculated...?
2.JPG

romney
romney is offline   Reply With Quote

Old   July 16, 2022, 10:31
Default
  #4
Member
 
Al Csc
Join Date: Jul 2018
Posts: 31
Rep Power: 8
al.csc is on a distinguished road
I meant in k
al.csc is offline   Reply With Quote

Old   July 16, 2022, 10:50
Default
  #5
New Member
 
hsin
Join Date: Jul 2021
Posts: 3
Rep Power: 5
romney is on a distinguished road
I commented out this in k & epsilon also
#includeEtc "caseDicts/setConstraintTypes"

the error message is still the same...

--> FOAM FATAL IO ERROR: (openfoam-2012)
Unexpected EOF while reading dictionary entry

file: /home/user/hsin/new2d(changeturbulentdepend)/sample92/0/k at line 75.

From static bool Foam::entry::New(Foam::dictionary&, Foam::Istream&, Foam::entry::inputMode, int)
in file db/dictionary/entry/entryIO.C at line 169.

FOAM exiting
romney is offline   Reply With Quote

Reply

Tags
k-epsilon model, turbulent boundary, velocity boundary


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
fully developed inlet velocity in openfoam mb.pejvak Main CFD Forum 0 May 17, 2019 10:15
UDF inlet velocity profile mismatch with Fluent ChristineL Fluent UDF and Scheme Programming 15 November 25, 2016 06:45
Multiphase flow - incorrect velocity on inlet Mike_Tom CFX 6 September 29, 2016 01:27
Problem with assigned inlet velocity profile as a boundary condition Ozgur_ FLUENT 5 August 25, 2015 04:58
Velocity inlet boundary condition for porous medium Chander CFX 3 March 11, 2012 21:18


All times are GMT -4. The time now is 20:06.