CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [swak4Foam] vectorSwakExplicitSource (https://www.cfd-online.com/Forums/openfoam-community-contributions/184847-vectorswakexplicitsource.html)

killer2234 March 13, 2017 03:04

vectorSwakExplicitSource
 
Hello , I have a question about vectorSwakExplicitSource in openFoam-3.0.1 , I would like to set an explicit velocity-sources which has an outward normal velocity on cylinder surface.

I have copied the content from "swak4Foam-Examples" into fvOptions file as following attached URL.

https://github.com/Unofficial-Extend...rcesProperties

When I start to run simulation then I got an error in expressions part ,
it seems that the solver has known the existence of vectorSwakExplicitSource:

Code:

Creating finite volume options from "system/fvOptions"

Selecting finite volume options model type vectorSwakExplicitSource
    Source: plug
    - selecting all cells
    - selected 65448 cell(s) with volume 0.000736533


--> FOAM FATAL IO ERROR:
attempt to read beyond EOF

file: /data01/201611/darcyTest/coldFlowReac/system/fvOptions.plug.vectorSwakExplicitSourceCoeffs.expressions.U at line 36.

    From function ITstream::read(token&)
    in file db/IOstreams/Tstreams/ITstream.C at line 83.

FOAM exiting

So, how could I modified the expressions part to set my velocity source correctly?
Thanks for your help!!

crazybarney June 9, 2019 20:19

Hello, Wilson Lee. Have you solved this problem? I have the same one. Could you please share your solution? Thank you.


All times are GMT -4. The time now is 17:57.