CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[swak4Foam] vectorSwakExplicitSource

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 13, 2017, 03:04
Default vectorSwakExplicitSource
  #1
New Member
 
WilsonLee
Join Date: Jan 2016
Posts: 7
Rep Power: 10
killer2234 is on a distinguished road
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!!
killer2234 is offline   Reply With Quote

Old   June 9, 2019, 20:19
Default
  #2
New Member
 
jhydome
Join Date: Nov 2018
Posts: 2
Rep Power: 0
crazybarney is on a distinguished road
Hello, Wilson Lee. Have you solved this problem? I have the same one. Could you please share your solution? Thank you.
crazybarney is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 00:27.