CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 10 of 10
Search took 0.00 seconds.
Search: Posts Made By: Benben
Forum: OpenFOAM Programming & Development July 13, 2018, 03:59
Replies: 12
Views: 3,068
Posted By Benben
I found out what was wrong ! :) I was...

I found out what was wrong ! :)

I was actually doing some dirty type castings, and the compiler was not telling me anything about it.

I was storing the value returned by...
Forum: OpenFOAM Programming & Development July 12, 2018, 12:05
Replies: 12
Views: 3,068
Posted By Benben
It seems that this doesnt work with multiple...

It seems that this doesnt work with multiple variables, for example :


fixedWalls
{
type codedFixedValue;
value uniform 1.;
redirectType ...
Forum: OpenFOAM Programming & Development July 12, 2018, 11:44
Replies: 12
Views: 3,068
Posted By Benben
Finally it didnt work :( Here is my test...

Finally it didnt work :(

Here is my test code


fixedWalls
{
type codedFixedValue;
value uniform 1.;
redirectType EvaporatingSurface;
Forum: OpenFOAM Programming & Development July 12, 2018, 11:29
Replies: 12
Views: 3,068
Posted By Benben
I just tried it, and it seems to be working...

I just tried it, and it seems to be working actually oO

The problem was that i was looping with for all on the wrong variable, aka :


forAll(Cf,i)
{
}
Forum: OpenFOAM Programming & Development July 12, 2018, 11:22
Replies: 12
Views: 3,068
Posted By Benben
Thank you for your help simrego. However the...

Thank you for your help simrego.

However the boundary condition i want to implement depends on properties at the boundary, and at the cell next to the boundary at the same time. (As if, for...
Forum: OpenFOAM Programming & Development July 12, 2018, 10:28
Replies: 12
Views: 3,068
Posted By Benben
I modified my boundary condition as follow : ...

I modified my boundary condition as follow :


fixedWalls
{
type codedFixedValue;
value uniform 1.;
redirectType EvaporatingSurface;
...
Forum: OpenFOAM Programming & Development July 12, 2018, 10:08
Replies: 12
Views: 3,068
Posted By Benben
I found that fvPatchField.patch().faceCells()...

I found that fvPatchField.patch().faceCells() returns the list of the labels of the cells associated to the patch faces. I will try to see if :


//Getting the list of faces that are part of the...
Forum: OpenFOAM Programming & Development July 12, 2018, 09:55
Replies: 12
Views: 3,068
Posted By Benben
Hello simrego, thank you for your help. ...

Hello simrego, thank you for your help.

Indeed, i dont set anything in this example, it is only a test case to see if i am able to get the right values for the properties i am looking for.

I...
Forum: OpenFOAM Programming & Development July 12, 2018, 08:28
Replies: 12
Views: 3,068
Posted By Benben
Here is a test case to reproduce : 64523

Here is a test case to reproduce :
64523
Forum: OpenFOAM Programming & Development July 12, 2018, 08:18
Replies: 12
Views: 3,068
Posted By Benben
Unhappy patchInternalField() returning a random Field

Hello,

I am using a “codedFixedValue” boundary condition with reactingFoam, on OpenFoam 5.x.
I am trying to set the composition of “H2” at the boundary as a function of some other properties in...
Showing results 1 to 10 of 10

 
Forum Jump

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