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

[swak4Foam] numerical beach with funkySetFields?!

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2011, 05:40
Default numerical beach with funkySetFields?!
  #1
New Member
 
maxonline's Avatar
 
Max
Join Date: May 2011
Location: Nuremberg
Posts: 17
Rep Power: 15
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: 4,225
Rep Power: 51
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
 
maxonline's Avatar
 
Max
Join Date: May 2011
Location: Nuremberg
Posts: 17
Rep Power: 15
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: 4,225
Rep Power: 51
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
 
maxonline's Avatar
 
Max
Join Date: May 2011
Location: Nuremberg
Posts: 17
Rep Power: 15
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: 4,225
Rep Power: 51
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
 
maxonline's Avatar
 
Max
Join Date: May 2011
Location: Nuremberg
Posts: 17
Rep Power: 15
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


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
Wave Tank Numerical Beach Error: received a fatal signal (Segmentation fault) Shyam Kaushik Fluent Multiphase 0 November 15, 2016 14:59
Numerical Beach zhangxuan29 Fluent Multiphase 0 June 29, 2015 05:22
Numerical Beach Omran CFX 4 March 15, 2015 13:39
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


All times are GMT -4. The time now is 13:56.