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

What does interface.correct() do exactly?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 18, 2018, 22:46
Default What does interface.correct() do exactly?
  #1
New Member
 
Zhang Zhihang
Join Date: Nov 2017
Location: Tokyo
Posts: 1
Rep Power: 0
Loki Kerry is on a distinguished road
Hello everyone,

I'm building a numerical wave tank based on interFoam solver, I tried to replace MULES with a more compact interface-capturing method.

The problem is that if I don't include this line: interface.correct(), which is from interFoam solver, the interface caculated turns out to be unsteady.

So, what dose this function do, I can't find it anywhere.

Thanks in advance.

Zhang Zhihang
Loki Kerry is offline   Reply With Quote

Old   February 19, 2018, 03:34
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
Fairly easy to find:
https://github.com/OpenFOAM/OpenFOAM...ceProperties.H

It updates the interface curvature.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Reply

Tags
interface

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
interPhaseChangeFoam with nOuterCorrectors != 1 akidess OpenFOAM Bugs 25 March 6, 2016 09:54


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