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 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: ashishmagar600
Forum: OpenFOAM Programming & Development February 20, 2020, 07:59
Replies: 8
Views: 1,427
Posted By ashishmagar600
[solved]

The issue was me not setting values to the boundary faces, example


thermo.T().boundaryField()[patchID][faceId_start+faceI] = newT;


which was wrong.

I should be using:
Forum: OpenFOAM Programming & Development February 20, 2020, 02:35
Replies: 8
Views: 1,427
Posted By ashishmagar600
UPDATE 2: I added : [CODE] if (patchID...

UPDATE 2:

I added :
[CODE]
if (patchID != -1)
{
//code for replacing BC
}
[\CODE]
Forum: OpenFOAM Programming & Development February 20, 2020, 02:10
Replies: 8
Views: 1,427
Posted By ashishmagar600
UPDATE: I found this link:...

UPDATE:

I found this link: https://www.cfd-online.com/Forums/openfoam-programming-development/174102-new-problem-version-4-0-boundary-field-become-read-only.html

Replacing...
Forum: OpenFOAM Programming & Development February 20, 2020, 02:00
Replies: 8
Views: 1,427
Posted By ashishmagar600
Alright.. I will explain what I want to do. ...

Alright.. I will explain what I want to do.

I am modifying chtMultiRegionSimpleFoam to set Temperature at boundaries calculated with some formula (which is complex enough to use available BCs and...
Forum: OpenFOAM Programming & Development February 19, 2020, 06:58
Replies: 8
Views: 1,427
Posted By ashishmagar600
This is part of a bigger implementation. I am...

This is part of a bigger implementation. I am learning how to update Boundary field values from the code while running (by calculating values from the previous time-step).

Commenting out ...
Forum: OpenFOAM Programming & Development February 19, 2020, 06:03
Replies: 8
Views: 1,427
Posted By ashishmagar600
Boundary values not updating

Hello all,

I am trying to automatically update Boundary conditions of a patch from code.

Initially, I am just running a test case for simpleFoam solver using:



label patchID =...
Showing results 1 to 6 of 6

 
Forum Jump

All times are GMT -4. The time now is 07:04.