|
[Sponsors] |
May 19, 2022, 15:46 |
Reading a list of properties
|
#1 |
New Member
Sandilya Garimella
Join Date: Sep 2016
Posts: 2
Rep Power: 0 |
Hi I am trying to solve an equation that looks like below:
= s v Here i is a user defined input with si and vi being a user defined properties (some are scalars and others vectors). Essentially there are user defined number of values over which I need to sum over to get the source term for my Laplacian. To be able to do this, essentially I want to define a input dictionary file that has a syntax something like: <List> n { s1 v1 s2 v2 . . . si vi . . sn vn } A sample will look something like this 3 { 1 (0 0 0) 1 (1 2 3) 16 (8 5 4) } I want to know the syntax or some pointer to an example where a custom list of properties is defined and syntaxes to read the elements of the list to define my solver. Thank you for your suggestions. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 | ordinary | OpenFOAM Installation | 19 | September 3, 2019 18:13 |
polynomial BC | srv537 | OpenFOAM Pre-Processing | 4 | December 3, 2016 09:07 |
execFlowFunctionObjects - unknown field problem | Toorop | OpenFOAM Post-Processing | 16 | March 14, 2016 03:25 |
Read inside a class | tonyuprm | OpenFOAM | 12 | July 14, 2010 02:35 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 19:08 |