|
[Sponsors] |
howto define function at case level used inside solver? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 26, 2017, 08:37 |
howto define function at case level used inside solver?
|
#1 |
New Member
Join Date: Jul 2017
Posts: 1
Rep Power: 0 |
Dear foamers,
I am trying to add a user defined field depending on space and time (B(x,t)) to the Poisson's equation. It is not a source term! The Poisson's equation solver is part of a larger solver, like pisoFoam. First I hard coded it inside the Poisson's equation. But now I want to make it a bit more fancy and user friendly. I would like to have a file at the case level which defines the field. First, I was thinking I could use function objects but they seem to work only one way: given a calculated field one can perform all kinds of operations on it. But you cannot feed back information into the solver (Poisson's equation). Any suggestion how to proceed? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] How to define to right point for locationInMesh | Mirage12 | OpenFOAM Meshing & Mesh Conversion | 7 | March 13, 2016 15:07 |
Running UDF with Supercomputer | roi247 | FLUENT | 4 | October 15, 2015 14:41 |
Star cd es-ice solver error | ernarasimman | STAR-CD | 2 | September 12, 2014 01:01 |
Immersed Solid Momentum Sources inside function | Martinw | CFX | 1 | October 10, 2013 18:14 |
[snappyHexMesh] Adding layers goes wrong with SnappyHexMesh | Elise | OpenFOAM Meshing & Mesh Conversion | 1 | April 22, 2013 03:32 |