CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Switching from k-epsilon to k-omega in openFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

Sponsored Links

LinkBack Thread Tools Display Modes
Old   August 3, 2016, 08:20
Default Switching from k-epsilon to k-omega in openFoam
New Member
Join Date: Feb 2016
Location: Birmingham
Posts: 12
Rep Power: 3
gggiulio is on a distinguished road
Sponsored Links
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
Sponsored Links

Old   August 14, 2016, 08:45
Senior Member
Artur's Avatar
Join Date: May 2013
Location: Southampton, UK
Posts: 296
Rep Power: 9
Artur is on a distinguished road

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,

Artur is offline   Reply With Quote


changing bc, latesttime, mapfields, openfoam

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 15:24
Getting Started with OpenFOAM wyldckat OpenFOAM 16 October 3, 2016 10:44
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 06:25
k Omega SST SAS for OpenFOAM 1.5??? barath.ezhilan OpenFOAM Running, Solving & CFD 3 June 2, 2010 07:41

Sponsored Links

All times are GMT -4. The time now is 04:18.