|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Robert Ong
Join Date: Aug 2010
Posts: 86
Rep Power: 16 ![]() |
Hi,
I am stuck on a simple problem with regards to defining a perturbation interface of alpha phase using funkySetFields. My objective is to define an interface of initial alpha phase that defines a perturbation given in the equation below expression.jpg The interface should look like this perturbation_shape.jpg I defined a funkySetFields like expressions ( interface { field alpha.liquid; expression "1"; condition "pos().z>=-0.001*(cos((2*3.141593*pos().x)-3.141593)+1)+4.5"; } ); It keeps giving me a flat profile rather than the interface shown in the above. Any help will be much appreciated. Regards Robert |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] groovyBC and funkySetFields married and got a kid named swak4Foam | gschaider | OpenFOAM Community Contributions | 169 | August 10, 2023 10:01 |
[swak4Foam] how to use funkySetFields function in muliregion case | bryant_k | OpenFOAM Community Contributions | 15 | October 15, 2021 03:50 |
[swak4Foam] funkySetFields and funkySetBoundaryFields | zxj160 | OpenFOAM Community Contributions | 19 | February 14, 2018 20:07 |
[swak4Foam] funkySetFields: problem with processor boundary | nmikhailov | OpenFOAM Community Contributions | 4 | May 26, 2015 10:48 |
[swak4Foam] funkySetFields | Chrisi1984 | OpenFOAM Community Contributions | 10 | June 17, 2010 04:26 |