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

numerical beach with funkySetFields?!

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 15, 2011, 05:40
Default numerical beach with funkySetFields?!
  #1
New Member
 
Max
Join Date: May 2011
Posts: 9
Rep Power: 5
maxonline is on a distinguished road
Hi,

I defined an function with funkySetFields that raise die kinematic viscosity to a higher level.

Is it possible to set the funkySetFields for the entire calculation (every timestep) ?

thanks - max
maxonline is offline   Reply With Quote

Old   June 15, 2011, 09:32
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,862
Rep Power: 38
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by maxonline View Post
Hi,

I defined an function with funkySetFields that raise die kinematic viscosity to a higher level.

Is it possible to set the funkySetFields for the entire calculation (every timestep) ?

thanks - max
In swak4Foam there is a functionObject manipulateField that could do that (as long as the viscosity-Field is available under that name in memory). But I'm not totally sure whether this is the best way to implement a viscosity model

Bernhard
gschaider is offline   Reply With Quote

Old   June 15, 2011, 13:24
Default
  #3
New Member
 
Max
Join Date: May 2011
Posts: 9
Rep Power: 5
maxonline is on a distinguished road
Okay, that means that there is no way to create a numerical beach with funkySetFields?!
I have problems with the installation of swak4foam. That is why I tried it with funkySetFields.

Max
maxonline is offline   Reply With Quote

Old   June 15, 2011, 16:42
Default
  #4
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,862
Rep Power: 38
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by maxonline View Post
Okay, that means that there is no way to create a numerical beach with funkySetFields?!
I have problems with the installation of swak4foam. That is why I tried it with funkySetFields.

Max
It is. Depending on two things:

- the viscosity field is registered (so that swak can find it)
- it is not updated between the time you modify it and the time it is used

Both of this depends on the solver

Bernhard
gschaider is offline   Reply With Quote

Old   June 15, 2011, 17:15
Default
  #5
New Member
 
Max
Join Date: May 2011
Posts: 9
Rep Power: 5
maxonline is on a distinguished road
Ah okay.
I am creating waves with groovyBC and the solver is interFoam.

If I take a turbulence model and then modify the turbulent viscosity. Would that work?

Thank you
Max
maxonline is offline   Reply With Quote

Old   June 16, 2011, 10:31
Default
  #6
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,862
Rep Power: 38
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by maxonline View Post
Ah okay.
I am creating waves with groovyBC and the solver is interFoam.

If I take a turbulence model and then modify the turbulent viscosity. Would that work?
Depends on the turbulence model (whether it makes nut available "in memory"). With kEpsilon for instance you might get lucky

Bernhard
gschaider is offline   Reply With Quote

Old   June 17, 2011, 05:59
Default
  #7
New Member
 
Max
Join Date: May 2011
Posts: 9
Rep Power: 5
maxonline is on a distinguished road
okay, thank you. I will give it a try...

Max
maxonline is offline   Reply With Quote

Reply

Tags
funkysetfields, numerical beach, timestep

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
Numerical beach! Henry Arrigo CFX 1 December 12, 2012 16:08
transmissive BC / numerical beach colinB OpenFOAM Running, Solving & CFD 9 July 30, 2011 12:49
Numerical viscosity due to the MUSCL and HLL coulpled scheme sonsiest Main CFD Forum 0 May 23, 2011 16:37
numerical scheme ado Main CFD Forum 3 October 12, 2000 09:20
New Books and Numerical Software Eleuterio TORO Main CFD Forum 0 December 18, 1998 13:41


All times are GMT -4. The time now is 00:23.