CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Run Time Change of Boundary Conditions

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

LinkBack Thread Tools Display Modes
Old   July 15, 2013, 07:10
Post Run Time Change of Boundary Conditions
New Member
Matteo Tugnoli
Join Date: Apr 2013
Location: Milan, Italy
Posts: 1
Rep Power: 0
Matteo Tugnoli is on a distinguished road
I am trying to implement a differential LES filter.
So I created a LESfilter class which should solve an elliptic equation for the un-filtered field to obtain the filtered one.
The problem is that I often have to filter fields calculated from other fields, and on solid walls they have "calculated" boundary conditions.
To solve the elliptic equation I should turn every "calculated" condition into a "fixed value" Dirichlet one, with the same value.
And this should be done inside the operator() function of the filter class.
Is it possible? How can I do it?

Also I am not really familiar on how openFoam requests the specification of the linear solver used to solve the PDEs, since it appears bounded to the solved variable, and not to the equation. Is it possible to specify a default solver? Is it possible to specify more than a solver for a single variable? Because, for example, I have to solve the PISO momentum equation for U, with a non-symmetric solver, and than filter U, with a symmetric solver.

Matteo Tugnoli is offline   Reply With Quote


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
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 17:44
Low Mixing time Problem Mavier CFX 5 April 29, 2013 00:00
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
attachDetach Topology Modifier: Proper Turbulent Boundary Conditions mturcios777 OpenFOAM Running, Solving & CFD 4 September 13, 2012 04:56

All times are GMT -4. The time now is 05:07.