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

setFields for a spatially varying TKE field

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 4, 2018, 22:40
Question setFields for a spatially varying TKE field
  #1
Member
 
Join Date: Dec 2012
Posts: 33
Rep Power: 13
mechkween is on a distinguished road
I want to initialise my flow field (2D) by setting TKE to a specific value. The range of values I have are available to me as a 2D array (from a DNS data set). There is no particular expression that can represent the field. Is there a way I can specify OF to set this field? How can I do it? Would I need to write out the data to a particular format file that I can include in the setFieldsDict?
mechkween 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
funkySetBoundaryFields - Manipulation of existing field jhertel OpenFOAM Pre-Processing 16 May 18, 2020 07:32
OpenFOAM floating point Error upuli OpenFOAM Programming & Development 5 June 20, 2016 04:19
''unknown radialModelType type Gidaspow'' PROBLEM WITH THE BED TUTORIAL AndoniBM OpenFOAM Running, Solving & CFD 2 March 25, 2015 19:44
Spatially varying wall temperature as boundary condition Gopinath FLUENT 0 January 16, 2014 02:24
Temporal and spatially varying temperature udf avi@lpsc Fluent UDF and Scheme Programming 0 August 24, 2013 06:43


All times are GMT -4. The time now is 07:30.