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

Switching from k-epsilon to k-omega in openFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 3, 2016, 09:20
Default Switching from k-epsilon to k-omega in openFoam
  #1
New Member
 
Giulio
Join Date: Feb 2016
Location: Birmingham
Posts: 13
Rep Power: 10
gggiulio is on a distinguished road
Hi everybody.

I'd like to switch from laminar to k-epsilon and then to k-omega for the same model and mesh. This just to have an initialised U & p.
While switching turb model is straightforward in Ansys, in openFoam I understand mapFields is the only (?) way. This is strange to me because the mesh it's exactly the same, only the BC need to change (I just need to add omega when I'll be switching to kwSST.

What I am doing now:
- set startFrom latestTime in controlDict
- add new BC files in the latestTime folder (for instance I added epsilon, nut and k to switch from laminar to turbulent simulation) without modifying the U and p. It apparently works.

Is this an orthodox method or am I lucky? I've only found the mapFields utility in the forum and in the manual.

Thanks a lot!
gggiulio is offline   Reply With Quote

Old   August 14, 2016, 09:45
Default
  #2
Senior Member
 
Artur's Avatar
 
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 20
Artur will become famous soon enough
Hi,

Not sure if it's a common way to do things or not but I do things similarly to you all the time, for instance when initialising the solution using potentialFoam or when switching from a static to a dynamic mesh simulation. As long as you know what you're doing you should be fine. I would use mapFields when, for instance, I change the mesh a little or have a few cases using the same initialisation condition (e.g. a few different LES models initialised using the same RANS solution).

All the best,

A
Artur is offline   Reply With Quote

Old   November 10, 2021, 16:11
Default i want to switch turb model from k-w to k-e model
  #3
New Member
 
Rajath
Join Date: Nov 2021
Posts: 1
Rep Power: 0
Rajath_Ramachandran is on a distinguished road
Hi can anyone guide me how to change the turb model from k-w to k-e in openFoam in sciprt ?
Rajath_Ramachandran is offline   Reply With Quote

Reply

Tags
changing bc, latesttime, mapfields, openfoam


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
Getting Started with OpenFOAM wyldckat OpenFOAM 26 June 21, 2024 07:54
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 15:24
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 10:04
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 07:25
k Omega SST SAS for OpenFOAM 1.5??? barath.ezhilan OpenFOAM Running, Solving & CFD 3 June 2, 2010 08:41


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