GroovyBC
Hi to all,
which is the correct file format to set a boundary condition with GroovyBC starting from an external file? Which extension typare allowed? Thanks for help! |
1 Attachment(s)
ok i found it accepts the .csv and the openFoam-format. I have to work with .csv format but it seems not to work. Maybe i made some mistake in the file boundary
Code:
inlet1 Thanks! |
Ok i changed road and i decided to insertthe li directly in U file in ti manner:
Code:
/*--------------------------------*- C++ -*----------------------------------*\ however this error appear Code:
--> FOAM FATAL IO ERROR: |
Looks like you are missing a semi colon after your bracket which containers the list of vectors.
|
Quote:
thank you for your reply (you are saving my life in these days). I also forgotthe semi colon after "fixedValue" here the code corected Code:
boundaryField Best Regards, Roberto |
1 Attachment(s)
Sorry for the bump.
The list vector works good but, because i have to work with a large number of vectors, i would like to load them directly starting from my csv file. The condition is not timevarying but fixed. Any suggestion? this is what i write till now Code:
inlet1 here the error Code:
--> FOAM FATAL IO ERROR: the guide is for timedipendent BC but i think it can ru also for fixedValue. i link also the file |
Hi Roberto
Looks like you need to still add Code:
value uniform (0 0 0); Regards, Brian Like this. Code:
inlet1 |
Quote:
Thanks for your fast reply but, unfortunately, with this modification it works but it takes a null velocity boundary condition :confused: Best Regards, Roberto |
I am thinking that the fixedValue boundary condition can't be directly used with a CSV (external) file unfortunately. I am looking at other boundary conditions which may work for your purpose.
|
Quote:
Code:
inlet { |
hi Bernhard, Thank you for you reply and contribution.
You were very clear, but i have only a last doubt about how setting the time column if i have a non time varying input field. Best Regards, Roberto |
Quote:
|
All times are GMT -4. The time now is 19:05. |