mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: adjustments for Function1/PatchFunction1
- additional debug information - improve support for dictionary specification of constant, polynomial and table entries. These previously only worked properly for primitiveEntry, which causes confusion. - extend table Function1 to include TableFile functionality. Simplifies switching and modifying content.
This commit is contained in:
@ -26,11 +26,44 @@ x
|
||||
);
|
||||
|
||||
|
||||
function1 table
|
||||
constant1 constant 100;
|
||||
|
||||
table1 table
|
||||
(
|
||||
(0 0)(10 1)
|
||||
);
|
||||
|
||||
table2
|
||||
{
|
||||
type table;
|
||||
values
|
||||
(
|
||||
(0 0)(10 1)
|
||||
);
|
||||
}
|
||||
|
||||
table3
|
||||
{
|
||||
type table;
|
||||
file "<constant>/table-values";
|
||||
}
|
||||
|
||||
poly1 polynomial
|
||||
(
|
||||
(0 1)
|
||||
(1 1)
|
||||
);
|
||||
|
||||
poly2
|
||||
{
|
||||
type polynomial;
|
||||
coeffs
|
||||
(
|
||||
(0 1)
|
||||
(1 1)
|
||||
);
|
||||
}
|
||||
|
||||
function2
|
||||
{
|
||||
type expression;
|
||||
|
||||
9
applications/test/Function1/case1/constant/table-values
Normal file
9
applications/test/Function1/case1/constant/table-values
Normal file
@ -0,0 +1,9 @@
|
||||
// -*- C++ -*-
|
||||
// Some table values
|
||||
|
||||
(
|
||||
(0 0)
|
||||
(20 1)
|
||||
);
|
||||
|
||||
// ************************************************************************* //
|
||||
Reference in New Issue
Block a user